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:
<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>>
</span> <route>
<from uri=<span class="code-quote">"direct:c"</span>/>
- <routingSlip headerName=<span
class="code-quote">"aRoutingSlipHeader"</span> uriDelimiter=<span
class="code-quote">"#"</span>/>
+ <routingSlip uriDelimiter=<span class="code-quote">"#"</span>>
+ <header>aRoutingSlipHeader</header>
+ </routingSlip>
</route>
</camelContext>
</pre>
@@ -17927,7 +17929,9 @@ from(<span class="code-quote">"activemq:
<pre class="code-java">
<route>
<from uri=<span class="code-quote">"direct:a"</span>/>
- <routingSlip headerName=<span class="code-quote">"myHeader"</span>
ignoreInvalidEndpoints=<span class="code-quote">"<span
class="code-keyword">true</span>"</span>/>
+ <routingSlip ignoreInvalidEndpoints=<span class="code-quote">"<span
class="code-keyword">true</span>"</span>/>
+ <header>myHeader</header>
+ </routingSlip>
</route>
</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"><camelContext xmlns=<span
class="code-quote">"http://camel.apache.org/schema/spring"</span>></span>
- <span class="code-tag"><route></span>
- <span class="code-tag"><from uri=<span
class="code-quote">"direct:start"</span>/></span>
- <span class="code-tag"><doTry></span>
- <span class="code-tag"><to uri=<span
class="code-quote">"validator:org/apache/camel/component/validator/schema.xsd"</span>/></span>
- <span class="code-tag"><to uri=<span
class="code-quote">"mock:valid"</span>/></span>
- <span class="code-tag"><doCatch></span>
- <span
class="code-tag"><exception></span>org.apache.camel.ValidationException<span
class="code-tag"></exception></span>
- <span class="code-tag"><to uri=<span
class="code-quote">"mock:invalid"</span>/></span>
- <span class="code-tag"></doCatch></span>
- <span class="code-tag"><doFinally></span>
- <span class="code-tag"><to uri=<span
class="code-quote">"mock:finally"</span>/></span>
- <span class="code-tag"></doFinally></span>
- <span class="code-tag"></doTry></span>
- <span class="code-tag"></route></span>
-<span class="code-tag"></camelContext></span>
+<pre class="code-xml"><span class="code-tag"><route></span>
+ <span class="code-tag"><from uri=<span
class="code-quote">"direct:start"</span>/></span>
+ <span class="code-tag"><doTry></span>
+ <span class="code-tag"><to uri=<span
class="code-quote">"validator:org/apache/camel/component/validator/schema.xsd"</span>/></span>
+ <span class="code-tag"><to uri=<span
class="code-quote">"mock:valid"</span>/></span>
+ <span class="code-tag"><doCatch></span>
+ <span
class="code-tag"><exception></span>org.apache.camel.ValidationException<span
class="code-tag"></exception></span>
+ <span class="code-tag"><to uri=<span
class="code-quote">"mock:invalid"</span>/></span>
+ <span class="code-tag"></doCatch></span>
+ <span class="code-tag"><doFinally></span>
+ <span class="code-tag"><to uri=<span
class="code-quote">"mock:finally"</span>/></span>
+ <span class="code-tag"></doFinally></span>
+ <span class="code-tag"></doTry></span>
+<span class="code-tag"></route></span>
</pre>
</div></div>
Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.