Author: buildbot
Date: Wed Apr 1 20:19:52 2015
New Revision: 945994
Log:
Production update by buildbot for camel
Modified:
websites/production/camel/content/book-component-appendix.html
websites/production/camel/content/book-in-one-page.html
websites/production/camel/content/cache/main.pageCache
websites/production/camel/content/direct-vm.html
websites/production/camel/content/direct.html
Modified: websites/production/camel/content/book-component-appendix.html
==============================================================================
--- websites/production/camel/content/book-component-appendix.html (original)
+++ websites/production/camel/content/book-component-appendix.html Wed Apr 1
20:19:52 2015
@@ -1325,11 +1325,11 @@ template.send("direct:alias-verify&
</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.rbtoc1427880041568 {padding: 0px;}
-div.rbtoc1427880041568 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1427880041568 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1427919462881 {padding: 0px;}
+div.rbtoc1427919462881 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1427919462881 li {margin-left: 0px;padding-left: 0px;}
-/*]]>*/</style></p><div class="toc-macro rbtoc1427880041568">
+/*]]>*/</style></p><div class="toc-macro rbtoc1427919462881">
<ul class="toc-indentation"><li><a shape="rect" href="#CXF-CXFComponent">CXF
Component</a>
<ul class="toc-indentation"><li><a shape="rect" href="#CXF-URIformat">URI
format</a></li><li><a shape="rect" href="#CXF-Options">Options</a>
<ul class="toc-indentation"><li><a shape="rect"
href="#CXF-Thedescriptionsofthedataformats">The descriptions of the
dataformats</a>
@@ -2345,7 +2345,7 @@ db4o:className[?options]
<h3 id="BookComponentAppendix-URIformat.15">URI format</h3><div class="code
panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
<script class="theme: Default; brush: text; gutter: false"
type="syntaxhighlighter"><![CDATA[direct:someName[?options]
]]></script>
-</div></div><p>Where <strong>someName</strong> can be any string to uniquely
identify the endpoint</p><h3
id="BookComponentAppendix-Options.12">Options</h3><div
class="table-wrap"><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>allowMultipleConsumers</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>true</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><strong>@deprecated</strong> If
set to <code>false</code>, then when a second consumer is started on the
endpoint, an <code>IllegalStateException</code> is thrown. <strong>Will be
removed in Camel 2.1:</strong> Direct endpoint does not support multiple
consumers.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"
><p><code>block</code></p></td><td colspan="1" rowspan="1"
>class="confluenceTd"><p><code>false</code></p></td><td colspan="1"
>rowspan="1" class="confluenceTd"><p><strong>Camel 2.11.1:</strong> If sending
>a message to a direct endpoint which has no active consumer, then we can tell
>the producer to block and wait for the consumer to become
>active.</p></td></tr><tr><td colspan="1" rowspan="1"
>class="confluenceTd"><p><code>timeout</code></p></td><td colspan="1"
>rowspan="1" class="confluenceTd"><p><code>30000</code></p></td><td
>colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel
>2.11.1:</strong> The timeout value to use if block is
>enabled.</p></td></tr></tbody></table></div><pre>You can append query options
>to the URI in the following format,
>?option=value&option=value&...</pre><p> </p><h3
>id="BookComponentAppendix-Samples.1">Samples</h3><p>In the route below we use
>the direct component to link the two routes together:</p><div class="code
>panel pdl" style="border-
width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><p>Where <strong>someName</strong> can be any string to uniquely
identify the endpoint</p><h3
id="BookComponentAppendix-Options.12">Options</h3><div
class="table-wrap"><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><th colspan="1" rowspan="1"
class="confluenceTh"> </th></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>allowMultipleConsumers</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>true</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><strong>@deprecated</strong> If
set to <code>false</code>, then when a second consumer is started on the
endpoint, an <code>IllegalStateException</code> is thrown. <strong>Will be
removed in Camel 2.1:</strong> Direct endpoint does not support multiple
consumers.</p></
td><td colspan="1" rowspan="1" class="confluenceTd"> </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>block</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.11.1:</strong>
If sending a message to a direct endpoint which has no active consumer, then we
can tell the producer to block and wait for the consumer to become
active.</p></td><td colspan="1" rowspan="1"
class="confluenceTd"> </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>timeout</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>30000</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><strong>Camel 2.11.1:</strong> The timeout
value to use if block is enabled.</p></td><td colspan="1" rowspan="1"
class="confluenceTd"> </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>failIfNoConsumers</code></p>
</td><td colspan="1" rowspan="1" class="confluenceTd"><p>true</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.16.0</strong>:
Indicates whether the producer should fail by throwing an exception when
sending to a DIRECT endpoint with no active consumers.</p></td><td colspan="1"
rowspan="1"
class="confluenceTd"><p> </p></td></tr></tbody></table></div><pre>You can
append query options to the URI in the following format,
?option=value&option=value&...</pre><p> </p><h3
id="BookComponentAppendix-Samples.1">Samples</h3><p>In the route below we use
the direct component to link the two routes together:</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("activemq:queue:order.in")
.to("bean:orderServer?method=validate")
.to("direct:processOrder");
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 Wed Apr 1 20:19:52
2015
@@ -4126,11 +4126,11 @@ While not actual tutorials you might fin
</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.rbtoc1427879967261 {padding: 0px;}
-div.rbtoc1427879967261 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1427879967261 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1427919490064 {padding: 0px;}
+div.rbtoc1427919490064 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1427919490064 li {margin-left: 0px;padding-left: 0px;}
-/*]]>*/</style></p><div class="toc-macro rbtoc1427879967261">
+/*]]>*/</style></p><div class="toc-macro rbtoc1427919490064">
<ul class="toc-indentation"><li><a shape="rect"
href="#Tutorial-JmsRemoting-TutorialonSpringRemotingwithJMS">Tutorial on Spring
Remoting with JMS</a></li><li><a shape="rect"
href="#Tutorial-JmsRemoting-Preface">Preface</a></li><li><a shape="rect"
href="#Tutorial-JmsRemoting-Prerequisites">Prerequisites</a></li><li><a
shape="rect"
href="#Tutorial-JmsRemoting-Distribution">Distribution</a></li><li><a
shape="rect" href="#Tutorial-JmsRemoting-About">About</a></li><li><a
shape="rect" href="#Tutorial-JmsRemoting-CreatetheCamelProject">Create the
Camel Project</a>
<ul class="toc-indentation"><li><a shape="rect"
href="#Tutorial-JmsRemoting-UpdatethePOMwithDependencies">Update the POM with
Dependencies</a></li></ul>
</li><li><a shape="rect" href="#Tutorial-JmsRemoting-WritingtheServer">Writing
the Server</a>
@@ -6316,11 +6316,11 @@ So we completed the last piece in the pi
<style type="text/css">/*<![CDATA[*/
-div.rbtoc1427879967646 {padding: 0px;}
-div.rbtoc1427879967646 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1427879967646 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1427919490392 {padding: 0px;}
+div.rbtoc1427919490392 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1427919490392 li {margin-left: 0px;padding-left: 0px;}
-/*]]>*/</style><div class="toc-macro rbtoc1427879967646">
+/*]]>*/</style><div class="toc-macro rbtoc1427919490392">
<ul class="toc-indentation"><li><a shape="rect"
href="#Tutorial-AXIS-Camel-TutorialusingAxis1.4withApacheCamel">Tutorial using
Axis 1.4 with Apache Camel</a>
<ul class="toc-indentation"><li><a shape="rect"
href="#Tutorial-AXIS-Camel-Prerequisites">Prerequisites</a></li><li><a
shape="rect"
href="#Tutorial-AXIS-Camel-Distribution">Distribution</a></li><li><a
shape="rect"
href="#Tutorial-AXIS-Camel-Introduction">Introduction</a></li><li><a
shape="rect" href="#Tutorial-AXIS-Camel-SettinguptheprojecttorunAxis">Setting
up the project to run Axis</a>
<ul class="toc-indentation"><li><a shape="rect"
href="#Tutorial-AXIS-Camel-Maven2">Maven 2</a></li><li><a shape="rect"
href="#Tutorial-AXIS-Camel-wsdl">wsdl</a></li><li><a shape="rect"
href="#Tutorial-AXIS-Camel-ConfiguringAxis">Configuring Axis</a></li><li><a
shape="rect" href="#Tutorial-AXIS-Camel-RunningtheExample">Running the
Example</a></li></ul>
@@ -18918,11 +18918,11 @@ template.send("direct:alias-verify&
</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.rbtoc1427879977235 {padding: 0px;}
-div.rbtoc1427879977235 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1427879977235 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1427919510039 {padding: 0px;}
+div.rbtoc1427919510039 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1427919510039 li {margin-left: 0px;padding-left: 0px;}
-/*]]>*/</style></p><div class="toc-macro rbtoc1427879977235">
+/*]]>*/</style></p><div class="toc-macro rbtoc1427919510039">
<ul class="toc-indentation"><li><a shape="rect" href="#CXF-CXFComponent">CXF
Component</a>
<ul class="toc-indentation"><li><a shape="rect" href="#CXF-URIformat">URI
format</a></li><li><a shape="rect" href="#CXF-Options">Options</a>
<ul class="toc-indentation"><li><a shape="rect"
href="#CXF-Thedescriptionsofthedataformats">The descriptions of the
dataformats</a>
@@ -19938,7 +19938,7 @@ db4o:className[?options]
<h3 id="BookInOnePage-URIformat.16">URI format</h3><div class="code panel pdl"
style="border-width: 1px;"><div class="codeContent panelContent pdl">
<script class="theme: Default; brush: text; gutter: false"
type="syntaxhighlighter"><![CDATA[direct:someName[?options]
]]></script>
-</div></div><p>Where <strong>someName</strong> can be any string to uniquely
identify the endpoint</p><h3 id="BookInOnePage-Options.33">Options</h3><div
class="table-wrap"><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>allowMultipleConsumers</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>true</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><strong>@deprecated</strong> If
set to <code>false</code>, then when a second consumer is started on the
endpoint, an <code>IllegalStateException</code> is thrown. <strong>Will be
removed in Camel 2.1:</strong> Direct endpoint does not support multiple
consumers.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><cod
e>block</code></p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>false</code></p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p><strong>Camel 2.11.1:</strong> If sending a message to
a direct endpoint which has no active consumer, then we can tell the producer
to block and wait for the consumer to become active.</p></td></tr><tr><td
colspan="1" rowspan="1"
class="confluenceTd"><p><code>timeout</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>30000</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><strong>Camel 2.11.1:</strong> The timeout
value to use if block is enabled.</p></td></tr></tbody></table></div><pre>You
can append query options to the URI in the following format,
?option=value&option=value&...</pre><p> </p><h3
id="BookInOnePage-Samples.8">Samples</h3><p>In the route below we use the
direct component to link the two routes together:</p><div class="code panel
pdl" style="border-width: 1px;"><di
v class="codeContent panelContent pdl">
+</div></div><p>Where <strong>someName</strong> can be any string to uniquely
identify the endpoint</p><h3 id="BookInOnePage-Options.33">Options</h3><div
class="table-wrap"><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><th colspan="1" rowspan="1"
class="confluenceTh"> </th></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>allowMultipleConsumers</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>true</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><strong>@deprecated</strong> If
set to <code>false</code>, then when a second consumer is started on the
endpoint, an <code>IllegalStateException</code> is thrown. <strong>Will be
removed in Camel 2.1:</strong> Direct endpoint does not support multiple
consumers.</p></td><td c
olspan="1" rowspan="1" class="confluenceTd"> </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>block</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.11.1:</strong>
If sending a message to a direct endpoint which has no active consumer, then we
can tell the producer to block and wait for the consumer to become
active.</p></td><td colspan="1" rowspan="1"
class="confluenceTd"> </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>timeout</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>30000</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><strong>Camel 2.11.1:</strong> The timeout
value to use if block is enabled.</p></td><td colspan="1" rowspan="1"
class="confluenceTd"> </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>failIfNoConsumers</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>true</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><strong>Camel 2.16.0</strong>: Indicates
whether the producer should fail by throwing an exception when sending to a
DIRECT endpoint with no active consumers.</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> </p></td></tr></tbody></table></div><pre>You can
append query options to the URI in the following format,
?option=value&option=value&...</pre><p> </p><h3
id="BookInOnePage-Samples.8">Samples</h3><p>In the route below we use the
direct component to link the two routes together:</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("activemq:queue:order.in")
.to("bean:orderServer?method=validate")
.to("direct:processOrder");
Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.
Modified: websites/production/camel/content/direct-vm.html
==============================================================================
--- websites/production/camel/content/direct-vm.html (original)
+++ websites/production/camel/content/direct-vm.html Wed Apr 1 20:19:52 2015
@@ -85,62 +85,21 @@
<tbody>
<tr>
<td valign="top" width="100%">
-<div class="wiki-content maincontent"><h2
id="Direct-VM-DirectVMComponent">Direct VM Component</h2>
-<p><strong>Available as of Camel 2.10</strong></p>
-
-<p>The <strong>direct-vm:</strong> component provides direct, synchronous
invocation of any consumers in the JVM when a producer sends a message
exchange.<br clear="none">
-This endpoint can be used to connect existing routes in the same camel
context, as well from other camel contexts in the <strong>same</strong> JVM.</p>
-
-<p>This component differs from the <a shape="rect"
href="direct.html">Direct</a> component in that <a shape="rect"
href="direct-vm.html">Direct-VM</a> supports communication across CamelContext
instances - so you can use this mechanism to communicate across web
applications (provided that camel-core.jar is on the system/boot classpath).</p>
-
-<p>At runtime you can swap in new consumers, by stopping the existing
consumer(s) and start new consumers.<br clear="none">
-But at any given time there can be at most only one active consumer for a
given endpoint.</p>
-
-<p>This component allows also to connect routes deployed in different OSGI
Bundles as you can see here after. Even if they are running in different
bundles, the camel routes will use<br clear="none">
-the same thread. That autorises to develop applications using Transactions -
Tx.</p>
-
-<p><img class="confluence-embedded-image confluence-content-image-border"
width="700px" src="direct-vm.data/camel-direct-vm.png"
data-image-src="/confluence/download/attachments/27849601/camel-direct-vm.png?version=1&modificationDate=1340335861000&api=v2"></p>
-
-<h3 id="Direct-VM-URIformat">URI format</h3>
-
-<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[
-direct-vm:someName
+<div class="wiki-content maincontent"><h2
id="Direct-VM-DirectVMComponent">Direct VM Component</h2><p><strong>Available
as of Camel 2.10</strong></p><p>The <strong>direct-vm:</strong> component
provides direct, synchronous invocation of any consumers in the JVM when a
producer sends a message exchange.<br clear="none"> This endpoint can be used
to connect existing routes in the same camel context, as well from other camel
contexts in the <strong>same</strong> JVM.</p><p>This component differs from
the <a shape="rect" href="direct.html">Direct</a> component in that <a
shape="rect" href="direct-vm.html">Direct-VM</a> supports communication across
CamelContext instances - so you can use this mechanism to communicate across
web applications (provided that camel-core.jar is on the system/boot
classpath).</p><p>At runtime you can swap in new consumers, by stopping the
existing consumer(s) and start new consumers.<br clear="none"> But at any given
time there can be at most only one active
consumer for a given endpoint.</p><p>This component allows also to connect
routes deployed in different OSGI Bundles as you can see here after. Even if
they are running in different bundles, the camel routes will use<br
clear="none"> the same thread. That autorises to develop applications using
Transactions - Tx.</p><p><img class="confluence-embedded-image
confluence-content-image-border" width="700px"
src="direct-vm.data/camel-direct-vm.png"
data-image-src="/confluence/download/attachments/27849601/camel-direct-vm.png?version=1&modificationDate=1340335861000&api=v2"></p><h3
id="Direct-VM-URIformat">URI format</h3><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[direct-vm:someName
]]></script>
-</div></div>
-
-<p>Where <strong>someName</strong> can be any string to uniquely identify the
endpoint</p>
-
-<h3 id="Direct-VM-Options">Options</h3>
-<div class="confluenceTableSmall">
-<div class="table-wrap"><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>block</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>false</code> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> <strong>Camel 2.11.1:</strong> If sending a message to
a direct endpoint which has no active consumer, then we can tell the producer
to block and wait for the consumer to become active. </p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>timeout</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>30000</code> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> <strong>Camel 2.11.1:</strong> The timeout value to
use if block is e
nabled. </p></td></tr></tbody></table></div>
-</div>
-
-
-<h3 id="Direct-VM-Samples">Samples</h3>
-<p>In the route below we use the direct component to link the two routes
together:</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("activemq:queue:order.in")
+</div></div><p>Where <strong>someName</strong> can be any string to uniquely
identify the endpoint</p><h3 id="Direct-VM-Options">Options</h3><div
class="confluenceTableSmall"><div class="table-wrap"><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>block</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><strong>Camel 2.11.1:</strong> If sending a
message to a direct endpoint which has no active consumer, then we can tell the
producer to block and wait for the consumer to become
active.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>timeout</code></p></td><td colspan="1"
rowspan="1" class="conflue
nceTd"><p><code>30000</code></p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p><strong>Camel 2.11.1:</strong> The timeout value to use
if block is enabled.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>failIfNoConsumers</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>true</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p><strong>Camel 2.16.0</strong>: Indicates whether the
producer should fail by throwing an exception when sending to a DIRECT-VM
endpoint with no active consumers.</p></td></tr></tbody></table></div></div><h3
id="Direct-VM-Samples">Samples</h3><p>In the route below we use the direct
component to link the two routes together:</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("activemq:queue:order.in")
.to("bean:orderServer?method=validate")
.to("direct-vm:processOrder");
]]></script>
-</div></div>
-
-<p>And now in another CamelContext, such as another OSGi bundle</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("direct-vm:processOrder")
+</div></div><p>And now in another CamelContext, such as another OSGi
bundle</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("direct-vm:processOrder")
.to("bean:orderService?method=process")
.to("activemq:queue:order.out");
]]></script>
-</div></div>
-
-<p>And the sample using spring DSL:</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[
- <route>
+</div></div><p>And the sample using spring DSL:</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[ <route>
<from uri="activemq:queue:order.in"/>
<to uri="bean:orderService?method=validate"/>
<to uri="direct-vm:processOrder"/>
@@ -152,11 +111,8 @@ from("direct-vm:processOrder")
<to uri="activemq:queue:order.out"/>
</route>
]]></script>
-</div></div>
-
-<h3 id="Direct-VM-SeeAlso">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 class="alternate"><li><a shape="rect"
href="direct.html">Direct</a></li><li><a shape="rect"
href="seda.html">SEDA</a></li><li><a shape="rect"
href="vm.html">VM</a></li></ul></div>
+</div></div><p></p><h3 id="Direct-VM-SeeAlso">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
class="alternate"><li><a shape="rect" href="direct.html">Direct</a></li><li><a
shape="rect" href="seda.html">SEDA</a></li><li><a shape="rect"
href="vm.html">VM</a></li></ul></div>
</td>
<td valign="top">
<div class="navigation">
Modified: websites/production/camel/content/direct.html
==============================================================================
--- websites/production/camel/content/direct.html (original)
+++ websites/production/camel/content/direct.html Wed Apr 1 20:19:52 2015
@@ -103,7 +103,7 @@
<h3 id="Direct-URIformat">URI format</h3><div class="code panel pdl"
style="border-width: 1px;"><div class="codeContent panelContent pdl">
<script class="theme: Default; brush: text; gutter: false"
type="syntaxhighlighter"><![CDATA[direct:someName[?options]
]]></script>
-</div></div><p>Where <strong>someName</strong> can be any string to uniquely
identify the endpoint</p><h3 id="Direct-Options">Options</h3><div
class="table-wrap"><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>allowMultipleConsumers</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>true</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><strong>@deprecated</strong> If
set to <code>false</code>, then when a second consumer is started on the
endpoint, an <code>IllegalStateException</code> is thrown. <strong>Will be
removed in Camel 2.1:</strong> Direct endpoint does not support multiple
consumers.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>block</c
ode></p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>false</code></p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p><strong>Camel 2.11.1:</strong> If sending a message to
a direct endpoint which has no active consumer, then we can tell the producer
to block and wait for the consumer to become active.</p></td></tr><tr><td
colspan="1" rowspan="1"
class="confluenceTd"><p><code>timeout</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>30000</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><strong>Camel 2.11.1:</strong> The timeout
value to use if block is enabled.</p></td></tr></tbody></table></div><pre>You
can append query options to the URI in the following format,
?option=value&option=value&...</pre><p> </p><h3
id="Direct-Samples">Samples</h3><p>In the route below we use the direct
component to link the two routes together:</p><div class="code panel pdl"
style="border-width: 1px;"><div class="codeConten
t panelContent pdl">
+</div></div><p>Where <strong>someName</strong> can be any string to uniquely
identify the endpoint</p><h3 id="Direct-Options">Options</h3><div
class="table-wrap"><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><th colspan="1" rowspan="1"
class="confluenceTh"> </th></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>allowMultipleConsumers</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>true</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><strong>@deprecated</strong> If
set to <code>false</code>, then when a second consumer is started on the
endpoint, an <code>IllegalStateException</code> is thrown. <strong>Will be
removed in Camel 2.1:</strong> Direct endpoint does not support multiple
consumers.</p></td><td colspan="1"
rowspan="1" class="confluenceTd"> </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>block</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><strong>Camel 2.11.1:</strong> If sending a
message to a direct endpoint which has no active consumer, then we can tell the
producer to block and wait for the consumer to become active.</p></td><td
colspan="1" rowspan="1" class="confluenceTd"> </td></tr><tr><td
colspan="1" rowspan="1"
class="confluenceTd"><p><code>timeout</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>30000</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><strong>Camel 2.11.1:</strong> The timeout
value to use if block is enabled.</p></td><td colspan="1" rowspan="1"
class="confluenceTd"> </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>failIfNoConsumers</code></p></td><td colspan="
1" rowspan="1" class="confluenceTd"><p>true</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><strong>Camel 2.16.0</strong>: Indicates
whether the producer should fail by throwing an exception when sending to a
DIRECT endpoint with no active consumers.</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> </p></td></tr></tbody></table></div><pre>You can
append query options to the URI in the following format,
?option=value&option=value&...</pre><p> </p><h3
id="Direct-Samples">Samples</h3><p>In the route below we use the direct
component to link the two routes together:</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("activemq:queue:order.in")
.to("bean:orderServer?method=validate")
.to("direct:processOrder");