Author: buildbot Date: Wed Oct 23 08:19:10 2013 New Revision: 883799 Log: Production update by buildbot for camel
Modified: websites/production/camel/content/cache/main.pageCache websites/production/camel/content/etl-example.html Modified: websites/production/camel/content/cache/main.pageCache ============================================================================== Binary files - no diff available. Modified: websites/production/camel/content/etl-example.html ============================================================================== --- websites/production/camel/content/etl-example.html (original) +++ websites/production/camel/content/etl-example.html Wed Oct 23 08:19:10 2013 @@ -127,7 +127,7 @@ public class EtlRoutes extends SpringRou <p>We're converting the body of the message to a <a shape="rect" class="external-link" href="https://github.com/apache/camel/blob/master/examples/camel-example-etl/src/main/java/org/apache/camel/example/etl/PersonDocument.java" rel="nofollow">PersonDocument</a> which since this POJO as an @XmlRootElement annotation from <a shape="rect" href="jaxb.html" title="JAXB">JAXB</a> will kick in the <a shape="rect" href="type-converter.html" title="Type Converter">Type Converter</a> to use JAXB to unmarshall the object.</p> -<p>Then we send the message with a PersonDocument body to the <a shape="rect" href="jpa.html" title="JPA">JPA</a> endpoint. Notice how this endpoint specifies the expected type. So the <a shape="rect" href="type-converter.html" title="Type Converter">Type Converter</a> is gonna try convert the PersonDocument to a <a shape="rect" class="external-link" href="hhttps://github.com/apache/camel/blob/master/examples/camel-example-etl/src/main/java/org/apache/camel/example/etl/CustomerEntity.java" rel="nofollow">CustomerEntity</a>. Here Camel will find the <a shape="rect" class="external-link" href="https://github.com/apache/camel/blob/master/examples/camel-example-etl/src/main/java/org/apache/camel/example/etl/CustomerTransformer.java" rel="nofollow">CustomerTransformer</a> class which has an @Converter method</p> +<p>Then we send the message with a PersonDocument body to the <a shape="rect" href="jpa.html" title="JPA">JPA</a> endpoint. Notice how this endpoint specifies the expected type. So the <a shape="rect" href="type-converter.html" title="Type Converter">Type Converter</a> is gonna try convert the PersonDocument to a <a shape="rect" class="external-link" href="https://github.com/apache/camel/blob/master/examples/camel-example-etl/src/main/java/org/apache/camel/example/etl/CustomerEntity.java" rel="nofollow">CustomerEntity</a>. Here Camel will find the <a shape="rect" class="external-link" href="https://github.com/apache/camel/blob/master/examples/camel-example-etl/src/main/java/org/apache/camel/example/etl/CustomerTransformer.java" rel="nofollow">CustomerTransformer</a> class which has an @Converter method</p> <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[ @@ -209,8 +209,11 @@ mvn compile exec:java <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[ +... thread #0 - file://src/data] CustomerTransformer INFO Created a new CustomerEntity Customer[userName: james firstName: null surname: null] as no matching persisted entity found. +... thread #0 - file://src/data] CustomerTransformer INFO Created a new CustomerEntity Customer[userName: hiram firstName: null surname: null] as no matching persisted entity found. +... ]]></script> </div></div> @@ -218,8 +221,11 @@ thread #0 - file://src/data] CustomerTra <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[ +... thread #0 - file://src/data] CustomerTransformer INFO Found a matching CustomerEntity Customer[userName: james firstName: James surname: Strachan] having the userName james. +... thread #0 - file://src/data] CustomerTransformer INFO Found a matching CustomerEntity Customer[userName: hiram firstName: Hiram surname: Chirino] having the userName hiram. +... ]]></script> </div></div>