camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r966601 - in /websites/production/camel/content: book-in-one-page.html book-pattern-appendix.html cache/main.pageCache message-endpoint.html
Date Thu, 24 Sep 2015 12:21:18 GMT
Author: buildbot
Date: Thu Sep 24 12:21:18 2015
New Revision: 966601

Log:
Production update by buildbot for camel

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

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 Thu Sep 24 12:21:18 2015
@@ -3694,11 +3694,11 @@ The tutorial has been designed in two pa
 While not actual tutorials you might find working through the source of the various <a
shape="rect" href="examples.html">Examples</a> useful.</li></ul>
 
 <h2 id="BookInOnePage-TutorialonSpringRemotingwithJMS">Tutorial on Spring Remoting
with JMS</h2><p>&#160;</p><div class="confluence-information-macro
confluence-information-macro-information"><p class="title">Thanks</p><span
class="aui-icon aui-icon-small aui-iconfont-info confluence-information-macro-icon"></span><div
class="confluence-information-macro-body"><p>This tutorial was kindly donated to
Apache Camel by Martin Gilday.</p></div></div><h2 id="BookInOnePage-Preface">Preface</h2><p>This
tutorial aims to guide the reader through the stages of creating a project which uses Camel
to facilitate the routing of messages from a JMS queue to a <a shape="rect" class="external-link"
href="http://www.springramework.org" rel="nofollow">Spring</a> service. The route
works in a synchronous fashion returning a response to the client.</p><p><style
type="text/css">/*<![CDATA[*/
-div.rbtoc1442989070422 {padding: 0px;}
-div.rbtoc1442989070422 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1442989070422 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1443097118405 {padding: 0px;}
+div.rbtoc1443097118405 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1443097118405 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style></p><div class="toc-macro rbtoc1442989070422">
+/*]]>*/</style></p><div class="toc-macro rbtoc1443097118405">
 <ul class="toc-indentation"><li><a shape="rect" href="#BookInOnePage-TutorialonSpringRemotingwithJMS">Tutorial
on Spring Remoting with JMS</a></li><li><a shape="rect" href="#BookInOnePage-Preface">Preface</a></li><li><a
shape="rect" href="#BookInOnePage-Prerequisites">Prerequisites</a></li><li><a
shape="rect" href="#BookInOnePage-Distribution">Distribution</a></li><li><a
shape="rect" href="#BookInOnePage-About">About</a></li><li><a shape="rect"
href="#BookInOnePage-CreatetheCamelProject">Create the Camel Project</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#BookInOnePage-UpdatethePOMwithDependencies">Update
the POM with Dependencies</a></li></ul>
 </li><li><a shape="rect" href="#BookInOnePage-WritingtheServer">Writing
the Server</a>
@@ -5803,11 +5803,11 @@ So we completed the last piece in the pi
 <p>This example has been removed from <strong>Camel 2.9</strong> onwards.
Apache Axis 1.4 is a very old and unsupported framework. We encourage users to use <a shape="rect"
href="cxf.html">CXF</a> instead of Axis.</p></div></div>
 
 <style type="text/css">/*<![CDATA[*/
-div.rbtoc1442989071068 {padding: 0px;}
-div.rbtoc1442989071068 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1442989071068 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1443097118753 {padding: 0px;}
+div.rbtoc1443097118753 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1443097118753 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style><div class="toc-macro rbtoc1442989071068">
+/*]]>*/</style><div class="toc-macro rbtoc1443097118753">
 <ul class="toc-indentation"><li><a shape="rect" href="#BookInOnePage-TutorialusingAxis1.4withApacheCamel">Tutorial
using Axis 1.4 with Apache Camel</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#BookInOnePage-Prerequisites">Prerequisites</a></li><li><a
shape="rect" href="#BookInOnePage-Distribution">Distribution</a></li><li><a
shape="rect" href="#BookInOnePage-Introduction">Introduction</a></li><li><a
shape="rect" href="#BookInOnePage-SettinguptheprojecttorunAxis">Setting up the project
to run Axis</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#BookInOnePage-Maven2">Maven
2</a></li><li><a shape="rect" href="#BookInOnePage-wsdl">wsdl</a></li><li><a
shape="rect" href="#BookInOnePage-ConfiguringAxis">Configuring Axis</a></li><li><a
shape="rect" href="#BookInOnePage-RunningtheExample">Running the Example</a></li></ul>
@@ -12030,22 +12030,22 @@ from(&quot;activemq:My.Queue&quot;).
 </div></div><p>And in Java DSL</p><div class="code panel pdl"
style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[from(&quot;direct:start&quot;)
   .toD(&quot;mock:${header.foo}&quot;);]]></script>
-</div></div><p>In the example above we compute an endpoint that has prefix
"mock:" and then the header foo is appended. So for example if the header foo has value order,
then the endpoint is computed as "mock:order".</p><p>You can also use other languages
that &#160;<a shape="rect" href="simple.html">Simple</a>&#160;such as&#160;<a
shape="rect" href="xpath.html">XPath</a></p><div class="code panel pdl"
style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><p>In the example above we compute an endpoint that has prefix
"mock:" and then the header foo is appended. So for example if the header foo has value order,
then the endpoint is computed as "mock:order".</p><p>You can also use other languages
than <a shape="rect" href="simple.html">Simple</a>&#160;such as&#160;<a
shape="rect" href="xpath.html">XPath</a>&#160;- this requires to prefix with
language: as shown below (simple language is the default language). If you do not specify
language: then the endpoint is a component name. And in some cases there is both a component
and language with the same name such as xquery.</p><div class="code panel pdl" style="border-width:
1px;"><div class="codeContent panelContent pdl">
 <script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[&lt;route&gt;
   &lt;from uri=&quot;direct:start&quot;/&gt;
-  &lt;toD uri=&quot;xpath:/order/@uri&quot;/&gt;
+  &lt;toD uri=&quot;language:xpath:/order/@uri&quot;/&gt;
 &lt;/route&gt;]]></script>
 </div></div><p>This is done by specifying the name of the language followed
by a colon.</p><div class="code panel pdl" style="border-width: 1px;"><div
class="codeContent panelContent pdl">
 <script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[from(&quot;direct:start&quot;)
-  .toD(&quot;xpath:/order/@uri&quot;);]]></script>
+  .toD(&quot;language:xpath:/order/@uri&quot;);]]></script>
 </div></div><p>You can also concat multiple&#160;<a shape="rect"
href="language.html">Language</a>(s) together using the plus sign&#160;<code>+</code>
such as shown below:</p><div class="code panel pdl" style="border-width: 1px;"><div
class="codeContent panelContent pdl">
 <script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[&lt;route&gt;
   &lt;from uri=&quot;direct:start&quot;/&gt;
-  &lt;toD uri=&quot;jms:${header.base}+xpath:/order/@id&quot;/&gt;
+  &lt;toD uri=&quot;jms:${header.base}+language:xpath:/order/@id&quot;/&gt;
 &lt;/route&gt;]]></script>
 </div></div><p>In the example above the uri is a combination of&#160;<a
shape="rect" href="simple.html">Simple</a>&#160;language and&#160;<a shape="rect"
href="xpath.html">XPath</a>&#160;where the first part is simple (simple is default
language). And then the plus sign separate to another language, where we specify the language
name followed by a colon</p><div class="code panel pdl" style="border-width: 1px;"><div
class="codeContent panelContent pdl">
 <script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[from(&quot;direct:start&quot;)
-  .toD(&quot;jms:${header.base}+xpath:/order/@id&quot;);]]></script>
+  .toD(&quot;jms:${header.base}+language:xpath:/order/@id&quot;);]]></script>
 </div></div><p>You can concat as many languages as you want, just separate
them with the plus sign</p><p>The Dynamic To has a few options you can configure</p><div
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1"
rowspan="1" class="confluenceTh">Name</th><th colspan="1" rowspan="1" class="confluenceTh">Default
Value</th><th colspan="1" rowspan="1" class="confluenceTh">Description</th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">uri</td><td colspan="1" rowspan="1"
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" class="confluenceTd"><strong>Mandatory:</strong>
The uri to use. See above</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">pattern</td><td
colspan="1" rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" rowspan="1"
class="confluenceTd">To set a specific <a shape="rect" href="exchange-pattern.html">Exchange
Pattern</a> to use when sending to the endpoint. The original MEP is restored afterwards.</td></tr
 ><tr><td colspan="1" rowspan="1" class="confluenceTd">cacheSize</td><td
colspan="1" rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" rowspan="1"
class="confluenceTd"><span style="color: rgb(0,0,0);">Allows to configure the cache
size for the&#160;</span><code>ProducerCache</code><span style="color:
rgb(0,0,0);">&#160;which caches producers for reuse. Will by default use the default
cache size which is 1000. Setting the value to -1 allows to turn off the cache all together.</span></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">ignoreInvalidEndpoint</td><td colspan="1"
rowspan="1" class="confluenceTd"><code>false</code></td><td colspan="1"
rowspan="1" class="confluenceTd"><span style="color: rgb(0,0,0);">Whether to ignore
an endpoint URI that could not be resolved. If disabled, Camel will throw an exception identifying
the invalid endpoint URI.</span></td></tr></tbody></table></div><p>&#160;</p><p>For
more details see</p><ul><li><a shape="rect" href="recipien
 t-list.html">Recipient List</a></li><li><a shape="rect" href="message.html">Message</a></li><li><a
shape="rect" href="wire-tap.html">Wire Tap</a><br clear="none"><br clear="none"></li></ul><p></p><h4
id="BookInOnePage-UsingThisPattern.5">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>
@@ -17563,11 +17563,11 @@ template.send(&quot;direct:alias-verify&
 ]]></script>
 </div></div><p></p><h3 id="BookInOnePage-SeeAlso.28">See Also</h3>
 <ul><li><a shape="rect" href="configuring-camel.html">Configuring Camel</a></li><li><a
shape="rect" href="component.html">Component</a></li><li><a shape="rect"
href="endpoint.html">Endpoint</a></li><li><a shape="rect" href="getting-started.html">Getting
Started</a></li></ul><ul><li><a shape="rect" href="crypto.html">Crypto</a>
Crypto is also available as a <a shape="rect" href="data-format.html">Data Format</a></li></ul>
<h2 id="BookInOnePage-CXFComponent">CXF Component</h2><div class="confluence-information-macro
confluence-information-macro-note"><span class="aui-icon aui-icon-small aui-iconfont-warning
confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>When
using CXF as a consumer, the <a shape="rect" href="cxf-bean-component.html">CXF Bean
Component</a> allows you to factor out how message payloads are received from their
processing as a RESTful or SOAP web service. This has the potential of using a multitude of
transports to consume web 
 services. The bean component's configuration is also simpler and provides the fastest method
to implement web services using Camel and CXF.</p></div></div><div class="confluence-information-macro
confluence-information-macro-tip"><span class="aui-icon aui-icon-small aui-iconfont-approve
confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>When
using CXF in streaming modes (see DataFormat option), then also read about <a shape="rect"
href="stream-caching.html">Stream caching</a>.</p></div></div><p>The
<strong>cxf:</strong> component provides integration with <a shape="rect" href="http://cxf.apache.org">Apache
CXF</a> for connecting to JAX-WS services hosted in CXF.</p><p><style
type="text/css">/*<![CDATA[*/
-div.rbtoc1442989079140 {padding: 0px;}
-div.rbtoc1442989079140 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1442989079140 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1443097150715 {padding: 0px;}
+div.rbtoc1443097150715 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1443097150715 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style></p><div class="toc-macro rbtoc1442989079140">
+/*]]>*/</style></p><div class="toc-macro rbtoc1443097150715">
 <ul class="toc-indentation"><li><a shape="rect" href="#BookInOnePage-CXFComponent">CXF
Component</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#BookInOnePage-URIformat">URI
format</a></li><li><a shape="rect" href="#BookInOnePage-Options">Options</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#BookInOnePage-Thedescriptionsofthedataformats">The
descriptions of the dataformats</a>

Modified: websites/production/camel/content/book-pattern-appendix.html
==============================================================================
--- websites/production/camel/content/book-pattern-appendix.html (original)
+++ websites/production/camel/content/book-pattern-appendix.html Thu Sep 24 12:21:18 2015
@@ -402,22 +402,22 @@ from(&quot;activemq:My.Queue&quot;).
 </div></div><p>And in Java DSL</p><div class="code panel pdl"
style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[from(&quot;direct:start&quot;)
   .toD(&quot;mock:${header.foo}&quot;);]]></script>
-</div></div><p>In the example above we compute an endpoint that has prefix
"mock:" and then the header foo is appended. So for example if the header foo has value order,
then the endpoint is computed as "mock:order".</p><p>You can also use other languages
that &#160;<a shape="rect" href="simple.html">Simple</a>&#160;such as&#160;<a
shape="rect" href="xpath.html">XPath</a></p><div class="code panel pdl"
style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><p>In the example above we compute an endpoint that has prefix
"mock:" and then the header foo is appended. So for example if the header foo has value order,
then the endpoint is computed as "mock:order".</p><p>You can also use other languages
than <a shape="rect" href="simple.html">Simple</a>&#160;such as&#160;<a
shape="rect" href="xpath.html">XPath</a>&#160;- this requires to prefix with
language: as shown below (simple language is the default language). If you do not specify
language: then the endpoint is a component name. And in some cases there is both a component
and language with the same name such as xquery.</p><div class="code panel pdl" style="border-width:
1px;"><div class="codeContent panelContent pdl">
 <script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[&lt;route&gt;
   &lt;from uri=&quot;direct:start&quot;/&gt;
-  &lt;toD uri=&quot;xpath:/order/@uri&quot;/&gt;
+  &lt;toD uri=&quot;language:xpath:/order/@uri&quot;/&gt;
 &lt;/route&gt;]]></script>
 </div></div><p>This is done by specifying the name of the language followed
by a colon.</p><div class="code panel pdl" style="border-width: 1px;"><div
class="codeContent panelContent pdl">
 <script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[from(&quot;direct:start&quot;)
-  .toD(&quot;xpath:/order/@uri&quot;);]]></script>
+  .toD(&quot;language:xpath:/order/@uri&quot;);]]></script>
 </div></div><p>You can also concat multiple&#160;<a shape="rect"
href="language.html">Language</a>(s) together using the plus sign&#160;<code>+</code>
such as shown below:</p><div class="code panel pdl" style="border-width: 1px;"><div
class="codeContent panelContent pdl">
 <script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[&lt;route&gt;
   &lt;from uri=&quot;direct:start&quot;/&gt;
-  &lt;toD uri=&quot;jms:${header.base}+xpath:/order/@id&quot;/&gt;
+  &lt;toD uri=&quot;jms:${header.base}+language:xpath:/order/@id&quot;/&gt;
 &lt;/route&gt;]]></script>
 </div></div><p>In the example above the uri is a combination of&#160;<a
shape="rect" href="simple.html">Simple</a>&#160;language and&#160;<a shape="rect"
href="xpath.html">XPath</a>&#160;where the first part is simple (simple is default
language). And then the plus sign separate to another language, where we specify the language
name followed by a colon</p><div class="code panel pdl" style="border-width: 1px;"><div
class="codeContent panelContent pdl">
 <script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[from(&quot;direct:start&quot;)
-  .toD(&quot;jms:${header.base}+xpath:/order/@id&quot;);]]></script>
+  .toD(&quot;jms:${header.base}+language:xpath:/order/@id&quot;);]]></script>
 </div></div><p>You can concat as many languages as you want, just separate
them with the plus sign</p><p>The Dynamic To has a few options you can configure</p><div
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1"
rowspan="1" class="confluenceTh">Name</th><th colspan="1" rowspan="1" class="confluenceTh">Default
Value</th><th colspan="1" rowspan="1" class="confluenceTh">Description</th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">uri</td><td colspan="1" rowspan="1"
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" class="confluenceTd"><strong>Mandatory:</strong>
The uri to use. See above</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">pattern</td><td
colspan="1" rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" rowspan="1"
class="confluenceTd">To set a specific <a shape="rect" href="exchange-pattern.html">Exchange
Pattern</a> to use when sending to the endpoint. The original MEP is restored afterwards.</td></tr
 ><tr><td colspan="1" rowspan="1" class="confluenceTd">cacheSize</td><td
colspan="1" rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" rowspan="1"
class="confluenceTd"><span style="color: rgb(0,0,0);">Allows to configure the cache
size for the&#160;</span><code>ProducerCache</code><span style="color:
rgb(0,0,0);">&#160;which caches producers for reuse. Will by default use the default
cache size which is 1000. Setting the value to -1 allows to turn off the cache all together.</span></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">ignoreInvalidEndpoint</td><td colspan="1"
rowspan="1" class="confluenceTd"><code>false</code></td><td colspan="1"
rowspan="1" class="confluenceTd"><span style="color: rgb(0,0,0);">Whether to ignore
an endpoint URI that could not be resolved. If disabled, Camel will throw an exception identifying
the invalid endpoint URI.</span></td></tr></tbody></table></div><p>&#160;</p><p>For
more details see</p><ul><li><a shape="rect" href="recipien
 t-list.html">Recipient List</a></li><li><a shape="rect" href="message.html">Message</a></li><li><a
shape="rect" href="wire-tap.html">Wire Tap</a><br clear="none"><br clear="none"></li></ul><p></p><h4
id="BookPatternAppendix-UsingThisPattern.5">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>

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

Modified: websites/production/camel/content/message-endpoint.html
==============================================================================
--- websites/production/camel/content/message-endpoint.html (original)
+++ websites/production/camel/content/message-endpoint.html Thu Sep 24 12:21:18 2015
@@ -109,22 +109,22 @@
 </div></div><p>And in Java DSL</p><div class="code panel pdl"
style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[from(&quot;direct:start&quot;)
   .toD(&quot;mock:${header.foo}&quot;);]]></script>
-</div></div><p>In the example above we compute an endpoint that has prefix
"mock:" and then the header foo is appended. So for example if the header foo has value order,
then the endpoint is computed as "mock:order".</p><p>You can also use other languages
that &#160;<a shape="rect" href="simple.html">Simple</a>&#160;such as&#160;<a
shape="rect" href="xpath.html">XPath</a></p><div class="code panel pdl"
style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><p>In the example above we compute an endpoint that has prefix
"mock:" and then the header foo is appended. So for example if the header foo has value order,
then the endpoint is computed as "mock:order".</p><p>You can also use other languages
than <a shape="rect" href="simple.html">Simple</a>&#160;such as&#160;<a
shape="rect" href="xpath.html">XPath</a>&#160;- this requires to prefix with
language: as shown below (simple language is the default language). If you do not specify
language: then the endpoint is a component name. And in some cases there is both a component
and language with the same name such as xquery.</p><div class="code panel pdl" style="border-width:
1px;"><div class="codeContent panelContent pdl">
 <script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[&lt;route&gt;
   &lt;from uri=&quot;direct:start&quot;/&gt;
-  &lt;toD uri=&quot;xpath:/order/@uri&quot;/&gt;
+  &lt;toD uri=&quot;language:xpath:/order/@uri&quot;/&gt;
 &lt;/route&gt;]]></script>
 </div></div><p>This is done by specifying the name of the language followed
by a colon.</p><div class="code panel pdl" style="border-width: 1px;"><div
class="codeContent panelContent pdl">
 <script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[from(&quot;direct:start&quot;)
-  .toD(&quot;xpath:/order/@uri&quot;);]]></script>
+  .toD(&quot;language:xpath:/order/@uri&quot;);]]></script>
 </div></div><p>You can also concat multiple&#160;<a shape="rect"
href="language.html">Language</a>(s) together using the plus sign&#160;<code>+</code>
such as shown below:</p><div class="code panel pdl" style="border-width: 1px;"><div
class="codeContent panelContent pdl">
 <script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[&lt;route&gt;
   &lt;from uri=&quot;direct:start&quot;/&gt;
-  &lt;toD uri=&quot;jms:${header.base}+xpath:/order/@id&quot;/&gt;
+  &lt;toD uri=&quot;jms:${header.base}+language:xpath:/order/@id&quot;/&gt;
 &lt;/route&gt;]]></script>
 </div></div><p>In the example above the uri is a combination of&#160;<a
shape="rect" href="simple.html">Simple</a>&#160;language and&#160;<a shape="rect"
href="xpath.html">XPath</a>&#160;where the first part is simple (simple is default
language). And then the plus sign separate to another language, where we specify the language
name followed by a colon</p><div class="code panel pdl" style="border-width: 1px;"><div
class="codeContent panelContent pdl">
 <script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[from(&quot;direct:start&quot;)
-  .toD(&quot;jms:${header.base}+xpath:/order/@id&quot;);]]></script>
+  .toD(&quot;jms:${header.base}+language:xpath:/order/@id&quot;);]]></script>
 </div></div><p>You can concat as many languages as you want, just separate
them with the plus sign</p><p>The Dynamic To has a few options you can configure</p><div
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1"
rowspan="1" class="confluenceTh">Name</th><th colspan="1" rowspan="1" class="confluenceTh">Default
Value</th><th colspan="1" rowspan="1" class="confluenceTh">Description</th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">uri</td><td colspan="1" rowspan="1"
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" class="confluenceTd"><strong>Mandatory:</strong>
The uri to use. See above</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">pattern</td><td
colspan="1" rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" rowspan="1"
class="confluenceTd">To set a specific <a shape="rect" href="exchange-pattern.html">Exchange
Pattern</a> to use when sending to the endpoint. The original MEP is restored afterwards.</td></tr
 ><tr><td colspan="1" rowspan="1" class="confluenceTd">cacheSize</td><td
colspan="1" rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" rowspan="1"
class="confluenceTd"><span style="color: rgb(0,0,0);">Allows to configure the cache
size for the&#160;</span><code>ProducerCache</code><span style="color:
rgb(0,0,0);">&#160;which caches producers for reuse. Will by default use the default
cache size which is 1000. Setting the value to -1 allows to turn off the cache all together.</span></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">ignoreInvalidEndpoint</td><td colspan="1"
rowspan="1" class="confluenceTd"><code>false</code></td><td colspan="1"
rowspan="1" class="confluenceTd"><span style="color: rgb(0,0,0);">Whether to ignore
an endpoint URI that could not be resolved. If disabled, Camel will throw an exception identifying
the invalid endpoint URI.</span></td></tr></tbody></table></div><p>&#160;</p><p>For
more details see</p><ul><li><a shape="rect" href="recipien
 t-list.html">Recipient List</a></li><li><a shape="rect" href="message.html">Message</a></li><li><a
shape="rect" href="wire-tap.html">Wire Tap</a><br clear="none"><br clear="none"></li></ul><p></p><h4
id="MessageEndpoint-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>



Mime
View raw message