Author: buildbot
Date: Tue Feb 26 16:23:46 2013
New Revision: 852075

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/book-in-one-page.html
    websites/production/camel/content/cache/main.pageCache

Modified: websites/production/camel/content/book-in-one-page.html
==============================================================================
--- websites/production/camel/content/book-in-one-page.html (original)
+++ websites/production/camel/content/book-in-one-page.html Tue Feb 26 16:23:46 
2013
@@ -17878,11 +17878,11 @@ from(<span class="code-quote">"seda:quot
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
 <pre class="code-java">
-from(<span class="code-quote">"activemq:SomeQueue"</span>).routingSlip(<span 
class="code-quote">"headerName"</span>);
+from(<span class="code-quote">"activemq:SomeQueue"</span>).routingSlip(<span 
class="code-quote">"aRoutingSlipHeader"</span>);
 </pre>
 </div></div>
 
-<p>Messages will be checked for the existance of the "headerName" header. The 
value of this header should be a comma-delimited list of endpoint <a 
shape="rect" href="uris.html" title="URIs">URIs</a> you wish the message to be 
routed to. The <a shape="rect" href="message.html" title="Message">Message</a> 
will be routed in a <a shape="rect" href="pipes-and-filters.html" title="Pipes 
and Filters">pipeline</a> fashion (i.e. one after the other).</p>
+<p>Messages will be checked for the existance of the "aRoutingSlipHeader" 
header. The value of this header should be a comma-delimited list of endpoint 
<a shape="rect" href="uris.html" title="URIs">URIs</a> you wish the message to 
be routed to. The <a shape="rect" href="message.html" 
title="Message">Message</a> will be routed in a <a shape="rect" 
href="pipes-and-filters.html" title="Pipes and Filters">pipeline</a> fashion 
(i.e. one after the other).</p>
 
 <p>From Camel 2.5 the <a shape="rect" href="routing-slip.html" title="Routing 
Slip">Routing Slip</a> will set a property (<tt>Exchange.SLIP_ENDPOINT</tt>) on 
the <a shape="rect" href="exchange.html" title="Exchange">Exchange</a> which 
contains the current endpoint as it advanced though the slip. This allows you 
to <em>know</em> how far we have processed in the slip.</p>
 
@@ -17904,7 +17904,9 @@ from(<span class="code-quote">"activemq:
 &lt;camelContext id=<span class="code-quote">"buildRoutingSlip"</span> 
xmlns=<span class="code-quote">"http:<span 
class="code-comment">//activemq.apache.org/camel/schema/spring"</span>&gt;
 </span>  &lt;route&gt;
     &lt;from uri=<span class="code-quote">"direct:c"</span>/&gt;
-    &lt;routingSlip headerName=<span 
class="code-quote">"aRoutingSlipHeader"</span> uriDelimiter=<span 
class="code-quote">"#"</span>/&gt;
+    &lt;routingSlip uriDelimiter=<span class="code-quote">"#"</span>&gt;
+       &lt;header&gt;aRoutingSlipHeader&lt;/header&gt;
+    &lt;/routingSlip&gt;
   &lt;/route&gt;
 &lt;/camelContext&gt;
 </pre>
@@ -17927,7 +17929,9 @@ from(<span class="code-quote">"activemq:
 <pre class="code-java">
    &lt;route&gt;
        &lt;from uri=<span class="code-quote">"direct:a"</span>/&gt;
-       &lt;routingSlip headerName=<span class="code-quote">"myHeader"</span> 
ignoreInvalidEndpoints=<span class="code-quote">"<span 
class="code-keyword">true</span>"</span>/&gt;
+       &lt;routingSlip ignoreInvalidEndpoints=<span class="code-quote">"<span 
class="code-keyword">true</span>"</span>/&gt;
+         &lt;header&gt;myHeader&lt;/header&gt;
+      &lt;/routingSlip&gt;
    &lt;/route&gt;
 </pre>
 </div></div>
@@ -37807,22 +37811,20 @@ validator:someLocalOrRemoteResource
 <p>The following <a shape="rect" class="external-link" 
href="http://svn.apache.org/repos/asf/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/component/validator/camelContext.xml";>example</a>
 shows how to configure a route from endpoint <b>direct:start</b> which then 
goes to one of two endpoints, either <b>mock:valid</b> or <b>mock:invalid</b> 
based on whether or not the XML matches the given schema (which is supplied on 
the classpath).</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
-<pre class="code-xml"><span class="code-tag">&lt;camelContext xmlns=<span 
class="code-quote">"http://camel.apache.org/schema/spring";</span>&gt;</span>
-    <span class="code-tag">&lt;route&gt;</span>
-        <span class="code-tag">&lt;from uri=<span 
class="code-quote">"direct:start"</span>/&gt;</span>
-        <span class="code-tag">&lt;doTry&gt;</span>
-            <span class="code-tag">&lt;to uri=<span 
class="code-quote">"validator:org/apache/camel/component/validator/schema.xsd"</span>/&gt;</span>
-            <span class="code-tag">&lt;to uri=<span 
class="code-quote">"mock:valid"</span>/&gt;</span>
-            <span class="code-tag">&lt;doCatch&gt;</span>
-                <span 
class="code-tag">&lt;exception&gt;</span>org.apache.camel.ValidationException<span
 class="code-tag">&lt;/exception&gt;</span>
-                <span class="code-tag">&lt;to uri=<span 
class="code-quote">"mock:invalid"</span>/&gt;</span>
-            <span class="code-tag">&lt;/doCatch&gt;</span>
-            <span class="code-tag">&lt;doFinally&gt;</span>
-                <span class="code-tag">&lt;to uri=<span 
class="code-quote">"mock:finally"</span>/&gt;</span>
-            <span class="code-tag">&lt;/doFinally&gt;</span>
-        <span class="code-tag">&lt;/doTry&gt;</span>
-    <span class="code-tag">&lt;/route&gt;</span>
-<span class="code-tag">&lt;/camelContext&gt;</span>
+<pre class="code-xml"><span class="code-tag">&lt;route&gt;</span>
+    <span class="code-tag">&lt;from uri=<span 
class="code-quote">"direct:start"</span>/&gt;</span>
+    <span class="code-tag">&lt;doTry&gt;</span>
+        <span class="code-tag">&lt;to uri=<span 
class="code-quote">"validator:org/apache/camel/component/validator/schema.xsd"</span>/&gt;</span>
+        <span class="code-tag">&lt;to uri=<span 
class="code-quote">"mock:valid"</span>/&gt;</span>
+        <span class="code-tag">&lt;doCatch&gt;</span>
+            <span 
class="code-tag">&lt;exception&gt;</span>org.apache.camel.ValidationException<span
 class="code-tag">&lt;/exception&gt;</span>
+            <span class="code-tag">&lt;to uri=<span 
class="code-quote">"mock:invalid"</span>/&gt;</span>
+        <span class="code-tag">&lt;/doCatch&gt;</span>
+        <span class="code-tag">&lt;doFinally&gt;</span>
+            <span class="code-tag">&lt;to uri=<span 
class="code-quote">"mock:finally"</span>/&gt;</span>
+        <span class="code-tag">&lt;/doFinally&gt;</span>
+    <span class="code-tag">&lt;/doTry&gt;</span>
+<span class="code-tag">&lt;/route&gt;</span>
 </pre>
 </div></div>
 

Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.


Reply via email to