Author: buildbot
Date: Fri Apr 25 06:17:59 2014
New Revision: 906793

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/camel-2140-release.html
    websites/production/camel/content/dynamic-router.html
    websites/production/camel/content/routing-slip.html

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

Modified: websites/production/camel/content/camel-2140-release.html
==============================================================================
--- websites/production/camel/content/camel-2140-release.html (original)
+++ websites/production/camel/content/camel-2140-release.html Fri Apr 25 
06:17:59 2014
@@ -87,7 +87,7 @@
         <tr>
         <td valign="top" width="100%">
 <div class="wiki-content maincontent"><h1 
id="Camel2.14.0Release-Camel2.14.0release(currentlyinprogress)">Camel 2.14.0 
release (currently in progress)</h1><div 
style="padding-right:20px;float:left;margin-left:-20px;">
-<p><span class="image-wrap" style=""><img 
src="http://camel.apache.org/download.data/camel-box-v1.0-150x200.png"; 
style="border: 0px solid black"></span></p></div><div 
style="min-height:200px"></div><h2 id="Camel2.14.0Release-NewandNoteworthy">New 
and Noteworthy</h2><p>Welcome to the 2.14.0 release which approx XXX issues 
resolved (new features, improvements and bug fixes such 
as...)</p><ul><li>Simple language defined in routes using resultType as boolean 
is now evaluated as predicate instead of as expression.</li><li>Introduced 
RuntimeEndpointRegistry to capture runtime usage of endpoints in use during 
routing, such as dynamic endpoints from dynamic <a shape="rect" 
href="eip.html">EIP</a>s.</li><li>Added event notification for routes added and 
removed.</li></ul><h3 id="Camel2.14.0Release-FixedIssues">Fixed 
Issues</h3><ul><li>Timer consumer is now scheduled after CamelContext has 
started all routes, to ensure other routes is running when timer routes is 
triggered to run.</li><li><a s
 hape="rect" href="netty-http.html">Netty HTTP</a> now returns HTTP status 404 
if resource not found instead of 503.</li><li>Fixed the <a shape="rect" 
class="external-link" 
href="https://camel.apache.org/mongodb.html";>MongoDB</a>&#160;<code>readPreference</code>&#160;option
 which used to cause an <code>IllegalArgumentException</code>&#160;to be 
thrown.</li></ul><h3 id="Camel2.14.0Release-New">New <a shape="rect" 
href="enterprise-integration-patterns.html">Enterprise Integration 
Patterns</a></h3><ul><li>Circuit Breaker pattern implemented as a Load Balancer 
policy</li></ul><h3 id="Camel2.14.0Release-New.1">New <a shape="rect" 
href="components.html">Components</a></h3><ul><li>camel-ahc-ws</li><li>camel-atmosphere-websocket</li><li><a
 shape="rect" href="openshift.html">camel-openshift</a></li></ul><h3 
id="Camel2.14.0Release-New.2">New <a shape="rect" 
href="camel-maven-archetypes.html">Camel Maven Archetypes</a></h3><h3 
id="Camel2.14.0Release-NewDSL">New DSL</h3><h3 id="Camel2.14.0Releas
 e-NewAnnotations">New Annotations</h3><h3 
id="Camel2.14.0Release-NewDataFormats">New <a shape="rect" 
href="data-format.html">Data Formats</a></h3><h3 
id="Camel2.14.0Release-New.3">New <a shape="rect" 
href="languages.html">Languages</a></h3><h3 id="Camel2.14.0Release-New.4">New 
<a shape="rect" href="examples.html">Examples</a></h3><h3 
id="Camel2.14.0Release-New.5">New <a shape="rect" 
href="tutorials.html">Tutorials</a></h3><h3 
id="Camel2.14.0Release-NewTooling">New Tooling</h3><h2 
id="Camel2.14.0Release-APIchanges">API changes</h2><ul><li>Changed 
...</li></ul><h2 id="Camel2.14.0Release-KnownIssues">Known 
Issues</h2><ul><li>Spring 4.x is not yet official supported.</li></ul><h2 
id="Camel2.14.0Release-DependencyUpgrades">Dependency Upgrades</h2><p>You can 
see any dependency changes using <a shape="rect" class="external-link" 
href="http://vdiff.notsoclever.cc/"; rel="nofollow">Camel Dependencies Version 
Differences web tool</a> created by Tracy Snell from the Camel <a shape="rect" 
href="
 team.html">Team</a>.</p><p>The below list is a best effort, and we may miss 
some updates, its better to use the <a shape="rect" class="external-link" 
href="http://vdiff.notsoclever.cc/"; rel="nofollow">Camel Dependencies Version 
Differences web tool</a> which uses the released projects for 
comparison.</p><ul><li>Atomikos 3.9.2 to 3.9.3</li><li>Commons-codec 1.8 to 
1.9</li><li>JRuby 1.7.10 to 1.7.12</li><li>MongoDB-Java-Driver 2.11.4 to 
2.12.0</li><li>Scala 2.10.3 to 2.10.4</li></ul><h2 
id="Camel2.14.0Release-Internalchanges">Internal changes</h2><ul><li>Changed 
...</li></ul><h2 id="Camel2.14.0Release-Changesthatmayaffectendusers">Changes 
that may affect end users</h2><ul><li>Bla bla</li></ul><h2 
id="Camel2.14.0Release-Importantchangestoconsiderwhenupgrading">Important 
changes to consider when upgrading</h2><ul><li>Bla bla<br clear="none"><br 
clear="none"></li></ul><h2 
id="Camel2.14.0Release-GettingtheDistributions">Getting the 
Distributions</h2><h3 id="Camel2.14.0Release-BinaryDistri
 butions">Binary Distributions</h3><div class="table-wrap"><table 
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Description</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Download Link</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>PGP Signature file of download</p></th></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Windows 
Distribution</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a 
shape="rect" class="external-link" 
href="http://www.apache.org/dyn/closer.cgi/camel/apache-camel/2.14.0/apache-camel-2.14.0.zip";>apache-camel-2.14.0.zip</a></p></td><td
 colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" 
class="external-link" 
href="http://www.apache.org/dist/camel/apache-camel/2.14.0/apache-camel-2.14.0.zip.asc";>apache-camel-2.14.0.zip.asc</a></p></td></tr><tr><td
 colspan="1" rowspan="1" class="confluenceTd"><p>Unix/Linux/Cygwin 
Distribution</p></td><td colspan="1" rowspan="1" clas
 s="confluenceTd"><p><a shape="rect" class="external-link" 
href="http://www.apache.org/dyn/closer.cgi/camel/apache-camel/2.14.0/apache-camel-2.14.0.tar.gz";>apache-camel-2.14.0.tar.gz</a></p></td><td
 colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" 
class="external-link" 
href="http://www.apache.org/dist/camel/apache-camel/2.14.0/apache-camel-2.14.0.tar.gz.asc";>apache-camel-2.14.0.tar.gz.asc</a></p></td></tr></tbody></table></div><h3
 id="Camel2.14.0Release-SourceDistribution">Source Distribution</h3><div 
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" 
rowspan="1" class="confluenceTh"><p>Description</p></th><th colspan="1" 
rowspan="1" class="confluenceTh"><p>Download Link</p></th><th colspan="1" 
rowspan="1" class="confluenceTh"><p>PGP Signature file of 
download</p></th></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>Source</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><a shape="rect" class="external-link" href="http:/
 
/www.apache.org/dyn/closer.cgi/camel/apache-camel/2.14.0/apache-camel-2.14.0-src.zip">apache-camel-2.14.0-src.zip</a></p></td><td
 colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" 
class="external-link" 
href="http://www.apache.org/dist/camel/apache-camel/2.14.0/apache-camel-2.14.0-src.zip.asc";>apache-camel-2.14.0-src.zip.asc</a></p></td></tr></tbody></table></div><h3
 id="Camel2.14.0Release-GettingtheBinariesusingMaven2">Getting the Binaries 
using Maven 2</h3><p>To use this release in your maven project, the proper 
dependency configuration that you should use in your <a shape="rect" 
class="external-link" 
href="http://maven.apache.org/guides/introduction/introduction-to-the-pom.html";>Maven
 POM</a> is:</p><div class="code panel pdl" style="border-width: 1px;"><div 
class="codeContent panelContent pdl">
+<p><span class="image-wrap" style=""><img 
src="http://camel.apache.org/download.data/camel-box-v1.0-150x200.png"; 
style="border: 0px solid black"></span></p></div><div 
style="min-height:200px"></div><h2 id="Camel2.14.0Release-NewandNoteworthy">New 
and Noteworthy</h2><p>Welcome to the 2.14.0 release which approx XXX issues 
resolved (new features, improvements and bug fixes such 
as...)</p><ul><li>Simple language defined in routes using resultType as boolean 
is now evaluated as predicate instead of as expression.</li><li>Introduced 
RuntimeEndpointRegistry to capture runtime usage of endpoints in use during 
routing, such as dynamic endpoints from dynamic <a shape="rect" 
href="eip.html">EIP</a>s.</li><li>Added event notification for routes added and 
removed.</li><li>Allow to configure cache size in Recipient List, Routing Slip 
and Dynamic Router EIPs; and as well turn caching off.</li></ul><h3 
id="Camel2.14.0Release-FixedIssues">Fixed Issues</h3><ul><li>Timer consumer is 
now scheduled aft
 er CamelContext has started all routes, to ensure other routes is running when 
timer routes is triggered to run.</li><li><a shape="rect" 
href="netty-http.html">Netty HTTP</a> now returns HTTP status 404 if resource 
not found instead of 503.</li><li>Fixed the <a shape="rect" 
class="external-link" 
href="https://camel.apache.org/mongodb.html";>MongoDB</a>&#160;<code>readPreference</code>&#160;option
 which used to cause an <code>IllegalArgumentException</code>&#160;to be 
thrown.</li><li>Fixed issue with Netty producer may leak HashWhealTimer 
instances when having many producers that are not reused.</li></ul><h3 
id="Camel2.14.0Release-New">New <a shape="rect" 
href="enterprise-integration-patterns.html">Enterprise Integration 
Patterns</a></h3><ul><li><a shape="rect" href="load-balancer.html">Circuit 
Breaker</a> pattern implemented as a Load Balancer policy</li></ul><h3 
id="Camel2.14.0Release-New.1">New <a shape="rect" 
href="components.html">Components</a></h3><ul><li>camel-ahc-ws</li><li>c
 amel-atmosphere-websocket</li><li><a shape="rect" 
href="openshift.html">camel-openshift</a></li></ul><h3 
id="Camel2.14.0Release-New.2">New <a shape="rect" 
href="camel-maven-archetypes.html">Camel Maven Archetypes</a></h3><h3 
id="Camel2.14.0Release-NewDSL">New DSL</h3><h3 
id="Camel2.14.0Release-NewAnnotations">New Annotations</h3><h3 
id="Camel2.14.0Release-NewDataFormats">New <a shape="rect" 
href="data-format.html">Data Formats</a></h3><h3 
id="Camel2.14.0Release-New.3">New <a shape="rect" 
href="languages.html">Languages</a></h3><h3 id="Camel2.14.0Release-New.4">New 
<a shape="rect" href="examples.html">Examples</a></h3><h3 
id="Camel2.14.0Release-New.5">New <a shape="rect" 
href="tutorials.html">Tutorials</a></h3><h3 
id="Camel2.14.0Release-NewTooling">New Tooling</h3><h2 
id="Camel2.14.0Release-APIchanges">API changes</h2><ul><li>Changed 
...</li></ul><h2 id="Camel2.14.0Release-KnownIssues">Known 
Issues</h2><ul><li>Spring 4.x is not yet official supported.</li></ul><h2 
id="Camel2.14.0Rele
 ase-DependencyUpgrades">Dependency Upgrades</h2><p>You can see any dependency 
changes using <a shape="rect" class="external-link" 
href="http://vdiff.notsoclever.cc/"; rel="nofollow">Camel Dependencies Version 
Differences web tool</a> created by Tracy Snell from the Camel <a shape="rect" 
href="team.html">Team</a>.</p><p>The below list is a best effort, and we may 
miss some updates, its better to use the <a shape="rect" class="external-link" 
href="http://vdiff.notsoclever.cc/"; rel="nofollow">Camel Dependencies Version 
Differences web tool</a> which uses the released projects for 
comparison.</p><ul><li>Atomikos 3.9.2 to 3.9.3</li><li>Commons-codec 1.8 to 
1.9</li><li>Dozer 5.4.0 to 5.5.1</li><li>JRuby 1.7.10 to 
1.7.12</li><li>MongoDB-Java-Driver 2.11.4 to 2.12.0</li><li>Scala 2.10.3 to 
2.10.4</li></ul><h2 id="Camel2.14.0Release-Internalchanges">Internal 
changes</h2><ul><li>Changed ...</li></ul><h2 
id="Camel2.14.0Release-Changesthatmayaffectendusers">Changes that may affect 
end users</h2>
 <ul><li>Bla bla</li></ul><h2 
id="Camel2.14.0Release-Importantchangestoconsiderwhenupgrading">Important 
changes to consider when upgrading</h2><ul><li>Bla bla<br clear="none"><br 
clear="none"></li></ul><h2 
id="Camel2.14.0Release-GettingtheDistributions">Getting the 
Distributions</h2><h3 id="Camel2.14.0Release-BinaryDistributions">Binary 
Distributions</h3><div class="table-wrap"><table 
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Description</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Download Link</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>PGP Signature file of download</p></th></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Windows 
Distribution</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a 
shape="rect" class="external-link" 
href="http://www.apache.org/dyn/closer.cgi/camel/apache-camel/2.14.0/apache-camel-2.14.0.zip";>apache-camel-2.14.0.zip</a></p></td><td
 colspan="1" rowspan="1" 
 class="confluenceTd"><p><a shape="rect" class="external-link" 
href="http://www.apache.org/dist/camel/apache-camel/2.14.0/apache-camel-2.14.0.zip.asc";>apache-camel-2.14.0.zip.asc</a></p></td></tr><tr><td
 colspan="1" rowspan="1" class="confluenceTd"><p>Unix/Linux/Cygwin 
Distribution</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a 
shape="rect" class="external-link" 
href="http://www.apache.org/dyn/closer.cgi/camel/apache-camel/2.14.0/apache-camel-2.14.0.tar.gz";>apache-camel-2.14.0.tar.gz</a></p></td><td
 colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" 
class="external-link" 
href="http://www.apache.org/dist/camel/apache-camel/2.14.0/apache-camel-2.14.0.tar.gz.asc";>apache-camel-2.14.0.tar.gz.asc</a></p></td></tr></tbody></table></div><h3
 id="Camel2.14.0Release-SourceDistribution">Source Distribution</h3><div 
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" 
rowspan="1" class="confluenceTh"><p>Description</p></th><th colspan="1" rowsp
 an="1" class="confluenceTh"><p>Download Link</p></th><th colspan="1" 
rowspan="1" class="confluenceTh"><p>PGP Signature file of 
download</p></th></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>Source</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><a shape="rect" class="external-link" 
href="http://www.apache.org/dyn/closer.cgi/camel/apache-camel/2.14.0/apache-camel-2.14.0-src.zip";>apache-camel-2.14.0-src.zip</a></p></td><td
 colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" 
class="external-link" 
href="http://www.apache.org/dist/camel/apache-camel/2.14.0/apache-camel-2.14.0-src.zip.asc";>apache-camel-2.14.0-src.zip.asc</a></p></td></tr></tbody></table></div><h3
 id="Camel2.14.0Release-GettingtheBinariesusingMaven2">Getting the Binaries 
using Maven 2</h3><p>To use this release in your maven project, the proper 
dependency configuration that you should use in your <a shape="rect" 
class="external-link" href="http://maven.apache.org/guides/introduction/i
 ntroduction-to-the-pom.html">Maven POM</a> is:</p><div class="code panel pdl" 
style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: xml; gutter: false" 
type="syntaxhighlighter"><![CDATA[&lt;dependency&gt;
   &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
   &lt;artifactId&gt;camel-core&lt;/artifactId&gt;

Modified: websites/production/camel/content/dynamic-router.html
==============================================================================
--- websites/production/camel/content/dynamic-router.html (original)
+++ websites/production/camel/content/dynamic-router.html Fri Apr 25 06:17:59 
2014
@@ -86,51 +86,22 @@
        <tbody>
         <tr>
         <td valign="top" width="100%">
-<div class="wiki-content maincontent"><h2 
id="DynamicRouter-DynamicRouter">Dynamic Router</h2>
-
-<p>The <a shape="rect" class="external-link" 
href="http://www.enterpriseintegrationpatterns.com/DynamicRouter.html"; 
rel="nofollow">Dynamic Router</a> from the <a shape="rect" 
href="enterprise-integration-patterns.html">EIP patterns</a> allows you to 
route messages while avoiding the dependency of the router on all possible 
destinations while maintaining its efficiency.</p>
-
-<p><img class="confluence-embedded-image confluence-external-resource" 
src="http://www.enterpriseintegrationpatterns.com/img/DynamicRouter.gif"; 
data-image-src="http://www.enterpriseintegrationpatterns.com/img/DynamicRouter.gif";></p>
-
-<p>In <strong>Camel 2.5</strong> we introduced a <code>dynamicRouter</code> in 
the DSL which is like a dynamic <a shape="rect" 
href="routing-slip.html">Routing Slip</a> which evaluates the slip 
<em>on-the-fly</em>. </p>
-
-    <div class="aui-message problem shadowed information-macro">
+<div class="wiki-content maincontent"><h2 
id="DynamicRouter-DynamicRouter">Dynamic Router</h2><p>The <a shape="rect" 
class="external-link" 
href="http://www.enterpriseintegrationpatterns.com/DynamicRouter.html"; 
rel="nofollow">Dynamic Router</a> from the <a shape="rect" 
href="enterprise-integration-patterns.html">EIP patterns</a> allows you to 
route messages while avoiding the dependency of the router on all possible 
destinations while maintaining its efficiency.</p><p><img 
class="confluence-embedded-image confluence-external-resource" 
src="http://www.enterpriseintegrationpatterns.com/img/DynamicRouter.gif"; 
data-image-src="http://www.enterpriseintegrationpatterns.com/img/DynamicRouter.gif";></p><p>In
 <strong>Camel 2.5</strong> we introduced a <code>dynamicRouter</code> in the 
DSL which is like a dynamic <a shape="rect" href="routing-slip.html">Routing 
Slip</a> which evaluates the slip <em>on-the-fly</em>.</p>    <div 
class="aui-message problem shadowed information-macro">
                     <p class="title">Beware</p>
                             <span class="aui-icon icon-problem">Icon</span>
                 <div class="message-content">
-                            
-<p>You must ensure the expression used for the <code>dynamicRouter</code> such 
as a bean, will return <code>null</code> to indicate the end. Otherwise the 
<code>dynamicRouter</code> will keep repeating endlessly.</p>
+                            <p>You must ensure the expression used for the 
<code>dynamicRouter</code> such as a bean, will return <code>null</code> to 
indicate the end. Otherwise the <code>dynamicRouter</code> will keep repeating 
endlessly.</p>
                     </div>
     </div>
-
-
-
-<h3 id="DynamicRouter-Options">Options</h3>
-
-<div class="confluenceTableSmall">
-<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh"><p> Name </p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p> Default Value </p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p> Description </p></th></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p> <code>uriDelimiter</code> </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> <code>,</code> </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> Delimiter used if the <a 
shape="rect" href="expression.html" title="Expression">Expression</a> returned 
multiple endpoints. </p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>ignoreInvalidEndpoints</code> </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> <code>false</code> 
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> If an endpoint 
uri could not be resolved, should it be ignored. Otherwise Camel will thrown an 
exception stating the endpoint uri is not 
 valid. </p></td></tr></tbody></table>
-</div>
-
-
-<h3 id="DynamicRouter-DynamicRouterinCamel2.5onwards">Dynamic Router in Camel 
2.5 onwards</h3>
-
-<p>From Camel 2.5 the <a shape="rect" href="dynamic-router.html">Dynamic 
Router</a> will set a property (Exchange.SLIP_ENDPOINT) on the <a shape="rect" 
href="exchange.html">Exchange</a> which contains the current endpoint as it 
advanced though the slip. This allows you to know how far we have processed in 
the slip. (It's a slip because the <a shape="rect" 
href="dynamic-router.html">Dynamic Router</a> implementation is based on top of 
<a shape="rect" href="routing-slip.html">Routing Slip</a>).</p>
-
-<h4 id="DynamicRouter-JavaDSL">Java DSL</h4>
-
-<p>In Java DSL you can use the <code>dynamicRouter</code> as shown below:</p>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
+<h3 id="DynamicRouter-Options">Options</h3><div class="confluenceTableSmall">
+<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh"><p> Name </p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p> Default Value </p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p> Description </p></th></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p> <code>uriDelimiter</code> </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> <code>,</code> </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> Delimiter used if the <a 
shape="rect" href="expression.html" title="Expression">Expression</a> returned 
multiple endpoints. </p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>ignoreInvalidEndpoints</code> </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> <code>false</code> 
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> If an endpoint 
uri could not be resolved, should it be ignored. Otherwise Camel will thrown an 
exception stating the endpoint uri is not 
 valid. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>cacheSize</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>1000</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <strong>Camel 2.13.1/2.12.4:</strong> Allows to 
configure the cache size for the <code>ProducerCache</code> which caches 
producers for reuse in the routing slip. Will by default use the default cache 
size which is 1000. Setting the value to -1 allows to turn off the cache all 
together. </p></td></tr></tbody></table>
+</div><h3 id="DynamicRouter-DynamicRouterinCamel2.5onwards">Dynamic Router in 
Camel 2.5 onwards</h3><p>From Camel 2.5 the <a shape="rect" 
href="dynamic-router.html">Dynamic Router</a> will set a property 
(Exchange.SLIP_ENDPOINT) on the <a shape="rect" 
href="exchange.html">Exchange</a> which contains the current endpoint as it 
advanced though the slip. This allows you to know how far we have processed in 
the slip. (It's a slip because the <a shape="rect" 
href="dynamic-router.html">Dynamic Router</a> implementation is based on top of 
<a shape="rect" href="routing-slip.html">Routing Slip</a>).</p><h4 
id="DynamicRouter-JavaDSL">Java DSL</h4><p>In Java DSL you can use the 
<code>dynamicRouter</code> as shown below:</p><div class="code panel pdl" 
style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: java; gutter: false" 
type="syntaxhighlighter"><![CDATA[
 from(&quot;direct:start&quot;)
     // use a bean as the dynamic router
     .dynamicRouter(method(DynamicRouterTest.class, &quot;slip&quot;));
 ]]></script>
-</div></div>
-
-<p>Which will leverage a <a shape="rect" href="bean.html">Bean</a> to compute 
the slip <em>on-the-fly</em>, which could be implemented as follows:</p>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
+</div></div><p>Which will leverage a <a shape="rect" href="bean.html">Bean</a> 
to compute the slip <em>on-the-fly</em>, which could be implemented as 
follows:</p><div class="code panel pdl" style="border-width: 1px;"><div 
class="codeContent panelContent pdl">
 <script class="theme: Default; brush: java; gutter: false" 
type="syntaxhighlighter"><![CDATA[
 /**
  * Use this method to compute dynamic where we should route next.
@@ -156,10 +127,7 @@ public String slip(String body) {
     return null;
 }
 ]]></script>
-</div></div>
-
-<p>Mind that this example is only for show and tell. The current 
implementation is not thread safe. You would have to store the state on the <a 
shape="rect" href="exchange.html">Exchange</a>, to ensure thread safety, as 
shown below: </p>
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
+</div></div><p>Mind that this example is only for show and tell. The current 
implementation is not thread safe. You would have to store the state on the <a 
shape="rect" href="exchange.html">Exchange</a>, to ensure thread safety, as 
shown below:</p><div class="code panel pdl" style="border-width: 1px;"><div 
class="codeContent panelContent pdl">
 <script class="theme: Default; brush: java; gutter: false" 
type="syntaxhighlighter"><![CDATA[
 /**
  * Use this method to compute dynamic where we should route next.
@@ -196,24 +164,14 @@ public String slip(String body, @Propert
     return null;
 }
 ]]></script>
-</div></div>
-
-<p>You could also store state as message headers, but they are not guaranteed 
to be preserved during routing, where as properties on the <a shape="rect" 
href="exchange.html">Exchange</a> are. Although there was a bug in the method 
call expression, see the warning below.</p>
-
-    <div class="aui-message problem shadowed information-macro">
+</div></div><p>You could also store state as message headers, but they are not 
guaranteed to be preserved during routing, where as properties on the <a 
shape="rect" href="exchange.html">Exchange</a> are. Although there was a bug in 
the method call expression, see the warning below.</p>    <div 
class="aui-message problem shadowed information-macro">
                     <p class="title">Using beans to store state</p>
                             <span class="aui-icon icon-problem">Icon</span>
                 <div class="message-content">
-                            
-<p>Mind that in Camel 2.9.2 or older, when using a <a shape="rect" 
href="bean.html">Bean</a> the state is not propagated, so you will have to use 
a <a shape="rect" href="processor.html">Processor</a> instead. This is fixed in 
Camel 2.9.3 onwards.</p>
+                            <p>Mind that in Camel 2.9.2 or older, when using a 
<a shape="rect" href="bean.html">Bean</a> the state is not propagated, so you 
will have to use a <a shape="rect" href="processor.html">Processor</a> instead. 
This is fixed in Camel 2.9.3 onwards.</p>
                     </div>
     </div>
-
-
-<h4 id="DynamicRouter-SpringXML">Spring XML</h4>
-<p>The same example in Spring XML would be:</p>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
+<h4 id="DynamicRouter-SpringXML">Spring XML</h4><p>The same example in Spring 
XML would be:</p><div class="code panel pdl" style="border-width: 1px;"><div 
class="codeContent panelContent pdl">
 <script class="theme: Default; brush: xml; gutter: false" 
type="syntaxhighlighter"><![CDATA[
 &lt;bean id=&quot;mySlip&quot; 
class=&quot;org.apache.camel.processor.DynamicRouterTest&quot;/&gt;
 
@@ -234,14 +192,8 @@ public String slip(String body, @Propert
 
 &lt;/camelContext&gt;
 ]]></script>
-</div></div>
-
-<h4 id="DynamicRouter-@DynamicRouterannotation">@DynamicRouter annotation</h4>
-
-<p>You can also use the <code>@DynamicRouter</code> annotation, for example 
the Camel 2.4 example below could be written as follows. The <code>route</code> 
method would then be invoked repeatedly as the message is processed 
dynamically. The idea is to return the next endpoint uri where to go. Return 
<code>null</code> to indicate the end. You can return multiple endpoints if you 
like, just as the <a shape="rect" href="routing-slip.html">Routing Slip</a>, 
where each endpoint is separated by a delimiter.</p>
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
-<script class="theme: Default; brush: java; gutter: false" 
type="syntaxhighlighter"><![CDATA[
-public class MyDynamicRouter {
+</div></div><h4 id="DynamicRouter-@DynamicRouterannotation">@DynamicRouter 
annotation</h4><p>You can also use the <code>@DynamicRouter</code> annotation, 
for example the Camel 2.4 example below could be written as follows. The 
<code>route</code> method would then be invoked repeatedly as the message is 
processed dynamically. The idea is to return the next endpoint uri where to go. 
Return <code>null</code> to indicate the end. You can return multiple endpoints 
if you like, just as the <a shape="rect" href="routing-slip.html">Routing 
Slip</a>, where each endpoint is separated by a delimiter.</p><div class="code 
panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" 
type="syntaxhighlighter"><![CDATA[public class MyDynamicRouter {
 
     @Consume(uri = &quot;activemq:foo&quot;)
     @DynamicRouter
@@ -251,14 +203,8 @@ public class MyDynamicRouter {
     }
 }
 ]]></script>
-</div></div>
-
-<h3 id="DynamicRouter-DynamicRouterinCamel2.4orolder">Dynamic Router in Camel 
2.4 or older</h3>
-<p>The simplest way to implement this is to use the <a shape="rect" 
href="recipientlist-annotation.html">RecipientList Annotation</a> on a Bean 
method to determine where to route the message.</p>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
-<script class="theme: Default; brush: java; gutter: false" 
type="syntaxhighlighter"><![CDATA[
-public class MyDynamicRouter {
+</div></div><h3 id="DynamicRouter-DynamicRouterinCamel2.4orolder">Dynamic 
Router in Camel 2.4 or older</h3><p>The simplest way to implement this is to 
use the <a shape="rect" href="recipientlist-annotation.html">RecipientList 
Annotation</a> on a Bean method to determine where to route the 
message.</p><div class="code panel pdl" style="border-width: 1px;"><div 
class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" 
type="syntaxhighlighter"><![CDATA[public class MyDynamicRouter {
 
     @Consume(uri = &quot;activemq:foo&quot;)
     @RecipientList
@@ -268,16 +214,7 @@ public class MyDynamicRouter {
     }
 }
 ]]></script>
-</div></div>
-
-<p>In the above we can use the <a shape="rect" 
href="parameter-binding-annotations.html">Parameter Binding Annotations</a> to 
bind different parts of the <a shape="rect" href="message.html">Message</a> to 
method parameters or use an <a shape="rect" 
href="expression.html">Expression</a> such as using <a shape="rect" 
href="xpath.html">XPath</a> or <a shape="rect" 
href="xquery.html">XQuery</a>.</p>
-
-<p>The method can be invoked in a number of ways as described in the <a 
shape="rect" href="bean-integration.html">Bean Integration</a> such as</p>
-
-<ul><li><a shape="rect" href="pojo-producing.html">POJO 
Producing</a></li><li><a shape="rect" href="spring-remoting.html">Spring 
Remoting</a></li><li><a shape="rect" href="bean.html">Bean</a> 
component</li></ul>
-
-
-<h4 id="DynamicRouter-UsingThisPattern">Using This Pattern</h4>
+</div></div><p>In the above we can use the <a shape="rect" 
href="parameter-binding-annotations.html">Parameter Binding Annotations</a> to 
bind different parts of the <a shape="rect" href="message.html">Message</a> to 
method parameters or use an <a shape="rect" 
href="expression.html">Expression</a> such as using <a shape="rect" 
href="xpath.html">XPath</a> or <a shape="rect" 
href="xquery.html">XQuery</a>.</p><p>The method can be invoked in a number of 
ways as described in the <a shape="rect" href="bean-integration.html">Bean 
Integration</a> such as</p><ul><li><a shape="rect" 
href="pojo-producing.html">POJO Producing</a></li><li><a shape="rect" 
href="spring-remoting.html">Spring Remoting</a></li><li><a shape="rect" 
href="bean.html">Bean</a> component</li></ul><p></p><h4 
id="DynamicRouter-UsingThisPattern">Using This Pattern</h4>
 
 <p>If you would like to use this EIP Pattern then please read the <a 
shape="rect" href="getting-started.html">Getting Started</a>, you may also find 
the <a shape="rect" href="architecture.html">Architecture</a> useful 
particularly the description of <a shape="rect" 
href="endpoint.html">Endpoint</a> and <a shape="rect" 
href="uris.html">URIs</a>. Then you could try out some of the <a shape="rect" 
href="examples.html">Examples</a> first before trying this pattern 
out.</p></div>
         </td>

Modified: websites/production/camel/content/routing-slip.html
==============================================================================
--- websites/production/camel/content/routing-slip.html (original)
+++ websites/production/camel/content/routing-slip.html Fri Apr 25 06:17:59 2014
@@ -87,7 +87,7 @@
         <tr>
         <td valign="top" width="100%">
 <div class="wiki-content maincontent"><h3 id="RoutingSlip-RoutingSlip">Routing 
Slip</h3><p>The <a shape="rect" class="external-link" 
href="http://www.enterpriseintegrationpatterns.com/RoutingTable.html"; 
rel="nofollow">Routing Slip</a> from the <a shape="rect" 
href="enterprise-integration-patterns.html">EIP patterns</a> allows you to 
route a message consecutively through a series of processing steps where the 
sequence of steps is not known at design time and can vary for each 
message.</p><p><img class="confluence-embedded-image 
confluence-external-resource" 
src="http://www.enterpriseintegrationpatterns.com/img/RoutingTableSimple.gif"; 
data-image-src="http://www.enterpriseintegrationpatterns.com/img/RoutingTableSimple.gif";></p><h3
 id="RoutingSlip-Options">Options</h3><div class="confluenceTableSmall">
-<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh"><p> Name </p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p> Default Value </p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p> Description </p></th></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p> <code>uriDelimiter</code> </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> <code>,</code> </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> Delimiter used if the <a 
shape="rect" href="expression.html" title="Expression">Expression</a> returned 
multiple endpoints. </p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>ignoreInvalidEndpoints</code> </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> <code>false</code> 
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> If an endpoint 
uri could not be resolved, should it be ignored. Otherwise Camel will throw an 
exception stating the endpoint uri is not v
 alid. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>cacheSize</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> 1000 </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <strong>Camel 2.13.1/2.12.4:</strong> Allows to 
configure the cache size for the ProducerCache which caches producers for reuse 
in the routing slip. Will by default use the default cache size which is 1000. 
Setting the value to -1 allows to turn off the cache all together. 
</p></td></tr></tbody></table>
+<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh"><p> Name </p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p> Default Value </p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p> Description </p></th></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p> <code>uriDelimiter</code> </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> <code>,</code> </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> Delimiter used if the <a 
shape="rect" href="expression.html" title="Expression">Expression</a> returned 
multiple endpoints. </p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>ignoreInvalidEndpoints</code> </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> <code>false</code> 
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> If an endpoint 
uri could not be resolved, should it be ignored. Otherwise Camel will throw an 
exception stating the endpoint uri is not v
 alid. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>cacheSize</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>1000</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <strong>Camel 2.13.1/2.12.4:</strong> Allows to 
configure the cache size for the <code>ProducerCache</code> which caches 
producers for reuse in the routing slip. Will by default use the default cache 
size which is 1000. Setting the value to -1 allows to turn off the cache all 
together. </p></td></tr></tbody></table>
 </div><h4 id="RoutingSlip-Example">Example</h4><p>The following route will 
take any messages sent to the <a shape="rect" class="external-link" 
href="http://activemq.apache.org";>Apache ActiveMQ</a> queue 
<strong>SomeQueue</strong> and pass them into the <a shape="rect" 
class="external-link" 
href="http://www.enterpriseintegrationpatterns.com/RoutingTable.html"; 
rel="nofollow">Routing Slip</a> pattern.</p><div class="code panel pdl" 
style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: java; gutter: false" 
type="syntaxhighlighter"><![CDATA[from(&quot;activemq:SomeQueue&quot;).routingSlip(&quot;aRoutingSlipHeader&quot;);
 ]]></script>


Reply via email to