Author: buildbot
Date: Mon Jun  3 16:23:36 2013
New Revision: 864218

Log:
Production update by buildbot for camel

Added:
    websites/production/camel/content/disruptor.html
Modified:
    websites/production/camel/content/book-architecture.html
    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/camel-2120-release.html
    websites/production/camel/content/component-list.html
    websites/production/camel/content/components.html
    websites/production/camel/content/direct.html
    websites/production/camel/content/transport.html
    websites/production/camel/content/uris.html

Modified: websites/production/camel/content/book-architecture.html
==============================================================================
--- websites/production/camel/content/book-architecture.html (original)
+++ websites/production/camel/content/book-architecture.html Mon Jun  3 
16:23:36 2013
@@ -257,7 +257,13 @@ direct-vm:name
 <pre class="code-xml">
 dns:operation
 </pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> To lookup 
domain information and run DNS queries using <a shape="rect" 
class="external-link" href="http://www.xbill.org/dnsjava/"; 
rel="nofollow">DNSJava</a> </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <a shape="rect" href="ejb.html" title="EJB">EJB</a> / 
camel-ejb
+</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> To lookup 
domain information and run DNS queries using <a shape="rect" 
class="external-link" href="http://www.xbill.org/dnsjava/"; 
rel="nofollow">DNSJava</a> </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <a shape="rect" href="disruptor.html" 
title="Disruptor">Disruptor</a> / camel-disruptor 
+<div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
+<pre class="code-xml">
+disruptor:name[?option=...]
+disruptor-vm:name[?option=...]
+</pre>
+</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> To provide 
the implementation of <a shape="rect" href="seda.html" title="SEDA">SEDA</a> 
which is based on <a shape="rect" class="external-link" 
href="https://github.com/LMAX-Exchange/disruptor"; rel="nofollow">disruptor</a> 
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" 
href="ejb.html" title="EJB">EJB</a> / camel-ejb
 <div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
 <pre class="code-xml">
 ejb:ejbName[?method=someMethod]

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 Mon Jun  3 
16:23:36 2013
@@ -3242,7 +3242,7 @@ direct:someName[?options]
 
 <h3><a shape="rect" name="BookComponentAppendix-Options"></a>Options</h3>
 <div class="confluenceTableSmall"><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"> <tt>allowMultipleConsumers</tt> </td><td colspan="1" 
rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" 
rowspan="1" class="confluenceTd"> <b>@deprecated</b> If set to <tt>false</tt>, 
then when a second consumer is started on the endpoint, an 
<tt>IllegalStateException</tt> is thrown. <b>Will be removed in Camel 2.1:</b> 
Direct endpoint does not support multiple consumers. </td></tr></tbody></table>
+<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"> <tt>allowMultipleConsumers</tt> </td><td colspan="1" 
rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" 
rowspan="1" class="confluenceTd"> <b>@deprecated</b> If set to <tt>false</tt>, 
then when a second consumer is started on the endpoint, an 
<tt>IllegalStateException</tt> is thrown. <b>Will be removed in Camel 2.1:</b> 
Direct endpoint does not support multiple consumers. </td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"> <tt>block</tt> </td><td 
colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td 
colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.11.1:</b> If sending a 
message to a direct endpoint which has no active consumer, the
 n we can tell the producer to block and wait for the consumer to become 
active. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>timeout</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>30000</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 
2.11.1:</b> The timeout value to use if block is enabled. 
</td></tr></tbody></table>
 </div>
 </div>
 

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 Mon Jun  3 16:23:36 
2013
@@ -664,7 +664,13 @@ direct-vm:name
 <pre class="code-xml">
 dns:operation
 </pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> To lookup 
domain information and run DNS queries using <a shape="rect" 
class="external-link" href="http://www.xbill.org/dnsjava/"; 
rel="nofollow">DNSJava</a> </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <a shape="rect" href="ejb.html" title="EJB">EJB</a> / 
camel-ejb
+</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> To lookup 
domain information and run DNS queries using <a shape="rect" 
class="external-link" href="http://www.xbill.org/dnsjava/"; 
rel="nofollow">DNSJava</a> </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <a shape="rect" href="disruptor.html" 
title="Disruptor">Disruptor</a> / camel-disruptor 
+<div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
+<pre class="code-xml">
+disruptor:name[?option=...]
+disruptor-vm:name[?option=...]
+</pre>
+</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> To provide 
the implementation of <a shape="rect" href="seda.html" title="SEDA">SEDA</a> 
which is based on <a shape="rect" class="external-link" 
href="https://github.com/LMAX-Exchange/disruptor"; rel="nofollow">disruptor</a> 
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" 
href="ejb.html" title="EJB">EJB</a> / camel-ejb
 <div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
 <pre class="code-xml">
 ejb:ejbName[?method=someMethod]
@@ -24307,7 +24313,7 @@ direct:someName[?options]
 
 <h3><a shape="rect" name="BookInOnePage-Options"></a>Options</h3>
 <div class="confluenceTableSmall"><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"> <tt>allowMultipleConsumers</tt> </td><td colspan="1" 
rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" 
rowspan="1" class="confluenceTd"> <b>@deprecated</b> If set to <tt>false</tt>, 
then when a second consumer is started on the endpoint, an 
<tt>IllegalStateException</tt> is thrown. <b>Will be removed in Camel 2.1:</b> 
Direct endpoint does not support multiple consumers. </td></tr></tbody></table>
+<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"> <tt>allowMultipleConsumers</tt> </td><td colspan="1" 
rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" 
rowspan="1" class="confluenceTd"> <b>@deprecated</b> If set to <tt>false</tt>, 
then when a second consumer is started on the endpoint, an 
<tt>IllegalStateException</tt> is thrown. <b>Will be removed in Camel 2.1:</b> 
Direct endpoint does not support multiple consumers. </td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"> <tt>block</tt> </td><td 
colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td 
colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.11.1:</b> If sending a 
message to a direct endpoint which has no active consumer, the
 n we can tell the producer to block and wait for the consumer to become 
active. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>timeout</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>30000</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 
2.11.1:</b> The timeout value to use if block is enabled. 
</td></tr></tbody></table>
 </div>
 </div>
 

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

Modified: websites/production/camel/content/camel-2120-release.html
==============================================================================
--- websites/production/camel/content/camel-2120-release.html (original)
+++ websites/production/camel/content/camel-2120-release.html Mon Jun  3 
16:23:36 2013
@@ -84,7 +84,7 @@
 
 <p>Welcome to the 2.12.0 release which approx XXX issues resolved (new 
features, improvements and bug fixes such as...)</p>
 
-<ul><li><a shape="rect" href="endpoint-annotations.html" title="Endpoint 
Annotations">Endpoint Annotations</a> along with automatically created HTML 
documentation for the endpoint parameters; this makes it easier for component 
developers to add a few refactoring-safe annotations to their Endpoint or 
Consumer implementations and, (along with javadoc comments on the field or 
setter method), get nice user documentation on how to use the endpoint for 
free.</li><li><a shape="rect" href="componentconfiguration.html" 
title="ComponentConfiguration">ComponentConfiguration</a> API provides a handy 
API for tools developers to introspect on a Component to find all the possible 
parameters, their types and any extra annotations (like Bean Validation 
Annotations) to be able to create/edit endpoints or URI strings so that tools 
can generate nicer UIs for configuring endpoints than just letting folks edit 
Strings.</li><li><a shape="rect" href="endpointcompleter.html" 
title="EndpointCompleter
 ">EndpointCompleter</a> API provides a hook so that command line tools (like 
<a shape="rect" class="external-link" 
href="http://karaf.apache.org/manual/latest-2.3.x/users-guide/using-console.html";>Karaf's
 shell</a>), IDEs and web tools can get (bash tab like) auto-completion on 
endpoint paths (such as file or directory names, message queue names, database 
table names) when creating or using new endpoints</li><li>Reduced stack-frames 
in use during routing, that also makes Camel's stack traces being logged much 
less verbose. This also allows people to easier debug the internals of Camel as 
less <tt>AsyncCallback</tt> callbacks are in use during routing.</li><li>Easy 
to use <a shape="rect" href="message-history.html" title="Message 
History">Message History</a> out of the box. And included message history as 
"route stack-trace" when exceptions logged by <a shape="rect" 
href="error-handler.html" title="Error Handler">Error Handler</a> to make it 
easier for end users to spot where
  the exception occurred.</li><li><a shape="rect" 
href="spring-web-services.html" title="Spring Web Services">Spring Web 
Services</a> now supports setting/receiving SOAP headers more easily using a 
header on the Camel <a shape="rect" href="message.html" 
title="Message">Message</a>.</li><li>Evaluating <a shape="rect" 
href="groovy.html" title="Groovy">Groovy</a> expressions is faster as we cache 
the compiled scripts.</li><li>Added <tt>base64</tt> option to <a shape="rect" 
href="shiro-security.html" title="Shiro Security">Shiro Security</a> to allow 
transferring security token over <a shape="rect" href="jms.html" 
title="JMS">JMS</a> and other transports as base64 encoded 
representation.</li><li>Made it easier to use <a shape="rect" 
href="shiro-security.html" title="Shiro Security">Shiro Security</a> as the 
credentials can be provided in headers, when sending a message to a secured 
route.</li><li><a shape="rect" href="bindy.html" title="Bindy">Bindy</a> now 
supports enums.</li><l
 i>Added new <a shape="rect" href="backlogdebugger.html" 
title="BacklogDebugger">BacklogDebugger</a> to perform live debugging of 
messages during routing. The <a shape="rect" href="backlogdebugger.html" 
title="BacklogDebugger">BacklogDebugger</a> has JMX API allows tooling to 
control the debugger.</li><li>While using the <a shape="rect" 
class="external-link" href="http://xircles.codehaus.org/projects/jackson"; 
rel="nofollow">Jackson library</a> through the <a shape="rect" href="json.html" 
title="JSON">JSON</a> Dataformat there's now a <tt>jsonView</tt> attribute you 
could make use of directly inside the <a shape="rect" href="dsl.html" 
title="DSL">DSL</a> itself.</li><li><a shape="rect" href="smpp.html" 
title="SMPP">SMPP</a> now supports optional parameters in all commands where 
they are possible.</li><li><a shape="rect" href="jdbc.html" 
title="JDBC">JDBC</a> now supports named parameters.</li></ul>
+<ul><li><a shape="rect" href="endpoint-annotations.html" title="Endpoint 
Annotations">Endpoint Annotations</a> along with automatically created HTML 
documentation for the endpoint parameters; this makes it easier for component 
developers to add a few refactoring-safe annotations to their Endpoint or 
Consumer implementations and, (along with javadoc comments on the field or 
setter method), get nice user documentation on how to use the endpoint for 
free.</li><li><a shape="rect" href="componentconfiguration.html" 
title="ComponentConfiguration">ComponentConfiguration</a> API provides a handy 
API for tools developers to introspect on a Component to find all the possible 
parameters, their types and any extra annotations (like Bean Validation 
Annotations) to be able to create/edit endpoints or URI strings so that tools 
can generate nicer UIs for configuring endpoints than just letting folks edit 
Strings.</li><li><a shape="rect" href="endpointcompleter.html" 
title="EndpointCompleter
 ">EndpointCompleter</a> API provides a hook so that command line tools (like 
<a shape="rect" class="external-link" 
href="http://karaf.apache.org/manual/latest-2.3.x/users-guide/using-console.html";>Karaf's
 shell</a>), IDEs and web tools can get (bash tab like) auto-completion on 
endpoint paths (such as file or directory names, message queue names, database 
table names) when creating or using new endpoints</li><li>Reduced stack-frames 
in use during routing, that also makes Camel's stack traces being logged much 
less verbose. This also allows people to easier debug the internals of Camel as 
less <tt>AsyncCallback</tt> callbacks are in use during routing.</li><li>Easy 
to use <a shape="rect" href="message-history.html" title="Message 
History">Message History</a> out of the box. And included message history as 
"route stack-trace" when exceptions logged by <a shape="rect" 
href="error-handler.html" title="Error Handler">Error Handler</a> to make it 
easier for end users to spot where
  the exception occurred.</li><li><a shape="rect" 
href="spring-web-services.html" title="Spring Web Services">Spring Web 
Services</a> now supports setting/receiving SOAP headers more easily using a 
header on the Camel <a shape="rect" href="message.html" 
title="Message">Message</a>.</li><li>Evaluating <a shape="rect" 
href="groovy.html" title="Groovy">Groovy</a> expressions is faster as we cache 
the compiled scripts.</li><li>Added <tt>base64</tt> option to <a shape="rect" 
href="shiro-security.html" title="Shiro Security">Shiro Security</a> to allow 
transferring security token over <a shape="rect" href="jms.html" 
title="JMS">JMS</a> and other transports as base64 encoded 
representation.</li><li>Made it easier to use <a shape="rect" 
href="shiro-security.html" title="Shiro Security">Shiro Security</a> as the 
credentials can be provided in headers, when sending a message to a secured 
route.</li><li><a shape="rect" href="bindy.html" title="Bindy">Bindy</a> now 
supports enums.</li><l
 i>Added new <a shape="rect" href="backlogdebugger.html" 
title="BacklogDebugger">BacklogDebugger</a> to perform live debugging of 
messages during routing. The <a shape="rect" href="backlogdebugger.html" 
title="BacklogDebugger">BacklogDebugger</a> has JMX API allows tooling to 
control the debugger.</li><li>While using the <a shape="rect" 
class="external-link" href="http://xircles.codehaus.org/projects/jackson"; 
rel="nofollow">Jackson library</a> through the <a shape="rect" href="json.html" 
title="JSON">JSON</a> Dataformat there's now a <tt>jsonView</tt> attribute you 
could make use of directly inside the <a shape="rect" href="dsl.html" 
title="DSL">DSL</a> itself.</li><li><a shape="rect" href="smpp.html" 
title="SMPP">SMPP</a> now supports optional parameters in all commands where 
they are possible.</li><li><a shape="rect" href="jdbc.html" 
title="JDBC">JDBC</a> now supports named parameters.</li><li>Added timeout 
support for <a shape="rect" href="direct.html" title="Direct">Direc
 t</a> producers to wait for consumer to become active.</li></ul>
 
 
 <h3><a shape="rect" name="Camel2.12.0Release-FixedIssues"></a>Fixed Issues</h3>

Modified: websites/production/camel/content/component-list.html
==============================================================================
--- websites/production/camel/content/component-list.html (original)
+++ websites/production/camel/content/component-list.html Mon Jun  3 16:23:36 
2013
@@ -227,7 +227,13 @@ direct-vm:name
 <pre class="code-xml">
 dns:operation
 </pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> To lookup 
domain information and run DNS queries using <a shape="rect" 
class="external-link" href="http://www.xbill.org/dnsjava/"; 
rel="nofollow">DNSJava</a> </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <a shape="rect" href="ejb.html" title="EJB">EJB</a> / 
camel-ejb
+</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> To lookup 
domain information and run DNS queries using <a shape="rect" 
class="external-link" href="http://www.xbill.org/dnsjava/"; 
rel="nofollow">DNSJava</a> </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <a shape="rect" href="disruptor.html" 
title="Disruptor">Disruptor</a> / camel-disruptor 
+<div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
+<pre class="code-xml">
+disruptor:name[?option=...]
+disruptor-vm:name[?option=...]
+</pre>
+</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> To provide 
the implementation of <a shape="rect" href="seda.html" title="SEDA">SEDA</a> 
which is based on <a shape="rect" class="external-link" 
href="https://github.com/LMAX-Exchange/disruptor"; rel="nofollow">disruptor</a> 
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" 
href="ejb.html" title="EJB">EJB</a> / camel-ejb
 <div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
 <pre class="code-xml">
 ejb:ejbName[?method=someMethod]

Modified: websites/production/camel/content/components.html
==============================================================================
--- websites/production/camel/content/components.html (original)
+++ websites/production/camel/content/components.html Mon Jun  3 16:23:36 2013
@@ -233,7 +233,13 @@ direct-vm:name
 <pre class="code-xml">
 dns:operation
 </pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> To lookup 
domain information and run DNS queries using <a shape="rect" 
class="external-link" href="http://www.xbill.org/dnsjava/"; 
rel="nofollow">DNSJava</a> </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <a shape="rect" href="ejb.html" title="EJB">EJB</a> / 
camel-ejb
+</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> To lookup 
domain information and run DNS queries using <a shape="rect" 
class="external-link" href="http://www.xbill.org/dnsjava/"; 
rel="nofollow">DNSJava</a> </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <a shape="rect" href="disruptor.html" 
title="Disruptor">Disruptor</a> / camel-disruptor 
+<div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
+<pre class="code-xml">
+disruptor:name[?option=...]
+disruptor-vm:name[?option=...]
+</pre>
+</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> To provide 
the implementation of <a shape="rect" href="seda.html" title="SEDA">SEDA</a> 
which is based on <a shape="rect" class="external-link" 
href="https://github.com/LMAX-Exchange/disruptor"; rel="nofollow">disruptor</a> 
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" 
href="ejb.html" title="EJB">EJB</a> / camel-ejb
 <div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
 <pre class="code-xml">
 ejb:ejbName[?method=someMethod]

Modified: websites/production/camel/content/direct.html
==============================================================================
--- websites/production/camel/content/direct.html (original)
+++ websites/production/camel/content/direct.html Mon Jun  3 16:23:36 2013
@@ -96,7 +96,7 @@ direct:someName[?options]
 
 <h3><a shape="rect" name="Direct-Options"></a>Options</h3>
 <div class="confluenceTableSmall"><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"> <tt>allowMultipleConsumers</tt> </td><td colspan="1" 
rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" 
rowspan="1" class="confluenceTd"> <b>@deprecated</b> If set to <tt>false</tt>, 
then when a second consumer is started on the endpoint, an 
<tt>IllegalStateException</tt> is thrown. <b>Will be removed in Camel 2.1:</b> 
Direct endpoint does not support multiple consumers. </td></tr></tbody></table>
+<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"> <tt>allowMultipleConsumers</tt> </td><td colspan="1" 
rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" 
rowspan="1" class="confluenceTd"> <b>@deprecated</b> If set to <tt>false</tt>, 
then when a second consumer is started on the endpoint, an 
<tt>IllegalStateException</tt> is thrown. <b>Will be removed in Camel 2.1:</b> 
Direct endpoint does not support multiple consumers. </td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"> <tt>block</tt> </td><td 
colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td 
colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.11.1:</b> If sending a 
message to a direct endpoint which has no active consumer, the
 n we can tell the producer to block and wait for the consumer to become 
active. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>timeout</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>30000</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 
2.11.1:</b> The timeout value to use if block is enabled. 
</td></tr></tbody></table>
 </div>
 </div>
 

Added: websites/production/camel/content/disruptor.html
==============================================================================
--- websites/production/camel/content/disruptor.html (added)
+++ websites/production/camel/content/disruptor.html Mon Jun  3 16:23:36 2013
@@ -0,0 +1,336 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+<html>
+<head>
+    <link href="http://camel.apache.org/styles/site.css"; rel="stylesheet" 
type="text/css">
+    <link href="http://camel.apache.org/styles/type-settings.css"; 
rel="stylesheet" type="text/css">
+    <script src="http://camel.apache.org/styles/prototype.js"; 
type="text/javascript"></script>
+    <script src="http://camel.apache.org/styles/rico.js"; 
type="text/javascript"></script>    
+    <script src="http://camel.apache.org/styles/site.js"; 
type="text/javascript"></script>
+
+    <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
+
+    <style type="text/css">
+      .maincontent { overflow:hidden; }
+    </style>
+    <!--[if IE]>
+    <style type="text/css">
+      .maincontent { width:100%; }
+    </style>
+    <![endif]-->
+
+    <title>
+    Apache Camel: Disruptor
+    </title>
+</head>
+<body>
+<div class="white_box">
+<div class="header">
+  <div class="header_l">
+    <div class="header_r">
+    </div>
+  </div>
+</div>
+<div class="content">
+  <div class="content_l">
+    <div class="content_r">
+      <div>
+          <!-- Banner -->
+<div id="banner-content">
+       <div id="asf_logo">
+       <div id="activemq_logo" style="height:108px; background:transparent 
url(banner.data/apache-camel-7.png) no-repeat scroll left top;">
+            <a shape="rect" style="float:left; 
width:310px;display:block;text-indent:-5000px;text-decoration:none;line-height:140px;
 margin-top:20px; margin-left:18px;" href="http://camel.apache.org/";>Camel</a>
+            <a shape="rect" style="float:right; 
width:180px;display:block;text-indent:-5000px;text-decoration:none;line-height:80px;
 margin-top:45px; margin-right:10px;" href="http://www.apache.org";>Apache</a>
+       </div>
+        </div>
+</div>
+          <!-- Banner -->
+        <div class="top_red_bar">
+          <div id="site-breadcrumbs">
+                <!-- Breadcrumbs -->
+<a href="index.html">Apache Camel</a>&nbsp;&gt;&nbsp;<a 
href="documentation.html">Documentation</a>&nbsp;&gt;&nbsp;<a 
href="components.html">Components</a>&nbsp;&gt;&nbsp;<a 
href="disruptor.html">Disruptor</a>
+          </div>
+          <!-- Quicklinks -->
+<div id="site-quicklinks"><p><a shape="rect" href="download.html" 
title="Download">Download</a> | <a shape="rect" href="javadoc.html" 
title="JavaDoc">JavaDoc</a> | <a shape="rect" href="source.html" 
title="Source">Source</a> | <a shape="rect" href="discussion-forums.html" 
title="Discussion Forums">Forums</a> | <a shape="rect" href="support.html" 
title="Support">Support</a></p></div>
+          <!-- Quicklinks -->
+        </div>
+
+       <table border="0">
+       <tbody>
+        <tr>
+        <td valign="top" width="100%">
+<div class="wiki-content maincontent"><h2><a shape="rect" 
name="Disruptor-DisruptorComponent"></a>Disruptor Component</h2>
+
+<p>The <b>disruptor:</b> component provides asynchronous <a shape="rect" 
class="external-link" href="http://www.eecs.harvard.edu/~mdw/proj/seda/"; 
rel="nofollow">SEDA</a> behavior much as the standard SEDA Component, but 
utilizes a <a shape="rect" class="external-link" 
href="https://github.com/LMAX-Exchange/disruptor"; rel="nofollow">Disruptor</a> 
instead of a <a shape="rect" class="external-link" 
href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/concurrent/BlockingQueue.html";
 rel="nofollow">BlockingQueue</a> utilized by the standard <a shape="rect" 
href="seda.html" title="SEDA">SEDA</a>. Alternatively, a</p>
+
+<p><b>disruptor-vm:</b> endpoint is supported by this component, providing an 
alternative to the standard <a shape="rect" href="vm.html" title="VM">VM</a>. 
As with the SEDA component, buffers of the <b>disruptor:</b> endpoints are only 
visible within a <b>single</b> <a shape="rect" href="camelcontext.html" 
title="CamelContext">CamelContext</a> and no support is provided for 
persistence or recovery. The buffers of the *<b>disruptor-vm:</b>* endpoints 
also provides support for communication across CamelContexts instances so you 
can use this mechanism to communicate across web applications (provided that 
<b>camel-disruptor.jar</b> is on the <b>system/boot</b> classpath).</p>
+
+<p>The main advantage of choosing to use the Disruptor Component over the SEDA 
or the VM Component is performance in use cases where there is high contention 
between producer(s) and/or multicasted or concurrent Consumers. In those cases, 
significant increases of throughput and reduction of latency has been observed. 
Performance in scenarios without contention is comparable to the SEDA and VM 
Components.</p>
+
+<p>The Disruptor is implemented with the intention of mimicing the behaviour 
and options of the SEDA and VM Components as much as possible. The main 
differences with the them are the following:</p>
+
+<ul><li>The buffer used is always bounded in size (default 1024 
exchanges).</li><li>As a the buffer is always bouded, the default behaviour for 
the Disruptor is to block while the buffer is full instead of throwing an 
exception. This default behaviour may be configured on the component (see 
options).</li><li>The Disruptor enpoints don't implement the BrowsableEndpoint 
interface. As such, the exchanges currently in the Disruptor can't be 
retrieved, only the amount of exchanges.</li><li>The Disruptor requires its 
consumers (multicasted or otherwise) to be statically configured. Adding or 
removing consumers on the fly requires complete flushing of all pending 
exchanges in the Disruptor.</li><li>As a result of the reconfiguration: Data 
sent over a Disruptor is directly processed and 'gone' if there is at least one 
consumer, late joiners only get new exchanges published after they've 
joined.</li><li>The <b>pollTimeout</b> option is not supported by the Disruptor 
Component.</li><l
 i>When a producer blocks on a full Disruptor, it does not respond to thread 
interrupts.</li></ul>
+
+
+<p>Maven users will need to add the following dependency to their 
<tt>pom.xml</tt> for this component:</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
+<pre class="code-java">
+&lt;dependency&gt;
+    &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
+    &lt;artifactId&gt;camel-disruptor&lt;/artifactId&gt;
+    &lt;version&gt;x.x.x&lt;/version&gt;
+    &lt;!-- use the same version as your Camel core version --&gt;
+&lt;/dependency&gt;
+</pre>
+</div></div>
+
+
+<h3><a shape="rect" name="Disruptor-URIformat"></a>URI format</h3>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
+<pre class="code-java">
+ disruptor:someName[?options]
+</pre>
+</div></div>
+<p>or</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
+<pre class="code-java">
+ disruptor-vm:someName[?options]
+</pre>
+</div></div>
+
+<p>Where *<b>someName</b>* can be any string that uniquely identifies the 
endpoint within the current <a shape="rect" href="camelcontext.html" 
title="CamelContext">CamelContext</a> (or across contexts in case of<br 
clear="none">
+*<b>disruptor-vm:</b>*).<br clear="none">
+You can append query options to the URI in the following format:</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
+<pre class="code-java">
+  ?option=value&amp;option=value&amp;&#8230;
+</pre>
+</div></div>
+
+
+<h3><a shape="rect" name="Disruptor-Options"></a>Options</h3>
+
+<p>All the following options are valid for both the *<b>disruptor:</b>* and 
*<b>disruptor-vm:</b>* components.</p>
+
+<div class="table-wrap">
+<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh"> <b>Name</b> </th><th colspan="1" rowspan="1" 
class="confluenceTh"> <b>Default</b> </th><th colspan="1" rowspan="1" 
class="confluenceTh"> <b>Description</b> </th></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"> size </td><td colspan="1" rowspan="1" 
class="confluenceTd"> 1024 </td><td colspan="1" rowspan="1" 
class="confluenceTd">The maximum capacity of the Disruptors ringbuffer. Will be 
effectively increased to the nearest power of two. <b>Notice:</b> Mind if you 
use this option, then its the first endpoint being created with the queue name, 
that determines the size. To make sure all endpoints use same size, then 
configure the size option on all of them, or the first endpoint being 
created.</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
bufferSize </td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td><td 
colspan="1" rowspan="1" class="confluenceTd"> 
 <b>Component only:</b> The maximum default size (capacity of the number of 
messages it can hold) of the Disruptors ringbuffer. This option is used if size 
is not in use.</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
queueSize </td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td><td 
colspan="1" rowspan="1" class="confluenceTd"> <b>Component only:</b> Additional 
option to specify the &lt;em&gt;bufferSize&lt;/em&gt; to maintain maximum 
compatibility with the <a shape="rect" href="seda.html" title="SEDA">SEDA</a> 
Component.</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
concurrentConsumers </td><td colspan="1" rowspan="1" class="confluenceTd"> 1 
</td><td colspan="1" rowspan="1" class="confluenceTd"> Number of concurrent 
threads processing exchanges. </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> waitForTaskToComplete </td><td colspan="1" rowspan="1" 
class="confluenceTd"> IfReplyExpected </td><td colspan="1" rowspan="1
 " class="confluenceTd">Option to specify whether the caller should wait for 
the async task to complete or not before continuing. The following three 
options are supported: <em>Always</em>, <em>Never</em> or 
<em>IfReplyExpected</em>. The first two values are self-explanatory. The last 
value, <em>IfReplyExpected</em>, will only wait if the message is <a 
shape="rect" href="request-reply.html" title="Request Reply">Request Reply</a> 
based. See more information about <a shape="rect" href="async.html" 
title="Async">Async</a> messaging. </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> timeout </td><td colspan="1" rowspan="1" 
class="confluenceTd"> 30000 </td><td colspan="1" rowspan="1" 
class="confluenceTd"> Timeout (in milliseconds) before a producer will stop 
waiting for an asynchronous task to complete. See 
<em>waitForTaskToComplete</em> and <a shape="rect" href="async.html" 
title="Async">Async</a> for more details. You can disable timeout by using 0 or 
a negative v
 alue. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
defaultMultipleConsumers </td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd"> <b>Component only:</b> Allows to set the default 
allowance of multiple consumers for endpoints created by this comonent used 
when <em>multipleConsumers</em> is not provided.</td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"> limitConcurrentConsumers </td><td colspan="1" 
rowspan="1" class="confluenceTd"> true </td><td colspan="1" rowspan="1" 
class="confluenceTd"> Whether to limit the number of concurrentConsumers to the 
maximum of 500. By default, an exception will be thrown if a Disruptor endpoint 
is configured with a greater number. You can disable that check by turning this 
option off. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
blockWhenFull </td><td colspan="1" rowspan="1" class="confluenceTd"> true 
</td><td colspan="1" rowspan="1" c
 lass="confluenceTd"> Whether a thread that sends messages to a full Disruptor 
will block until the ringbuffer's capacity is no longer exhausted. By default, 
the calling thread will block and wait until the message can be accepted. By 
disabling this option, an exception will be thrown stating that the queue is 
full.</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
defaultBlockWhenFull </td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd"> <b>Component only:</b> Allows to set the default producer 
behaviour when the ringbuffer is full for endpoints created by this comonent 
used when <em>blockWhenFull</em> is not provided. </td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"> waitStrategy </td><td colspan="1" rowspan="1" 
class="confluenceTd"> Blocking </td><td colspan="1" rowspan="1" 
class="confluenceTd"> Defines the strategy used by consumer threads to wait on 
new exchanges to be published. The 
 options allowed are:<em>Blocking</em>, <em>Sleeping</em>, <em>BusySpin</em> 
and <em>Yielding</em>. Refer to the section below for more information on this 
subject </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">defaultWaitStrategy</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd"> <b>Component only:</b> Allows to set the default wait 
strategy for endpoints created by this comonent used when <em>waitStrategy</em> 
is not provided.</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
producerType </td><td colspan="1" rowspan="1" class="confluenceTd"> Multi 
</td><td colspan="1" rowspan="1" class="confluenceTd"> Defines the producers 
allowed on the Disruptor. The options allowed are: <em>Multi</em> to allow 
multiple producers and <em>Single</em> to enable certain optimizations only 
allowed when one concurrent producer (on one thread or otherwise synchronized) 
is active.</td></tr><tr><td colspa
 n="1" rowspan="1" class="confluenceTd">defaultProducerType</td><td colspan="1" 
rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd"><b>Component only:</b> Allows to set the default producer 
type for endpoints created by this comonent used when <em>producerType</em> is 
not provided.</td></tr></tbody></table>
+</div>
+
+
+<h3><a shape="rect" name="Disruptor-Waitstrategies"></a>Wait strategies</h3>
+<p>The wait strategy effects the type of waiting performed by the consumer 
threads that are currently waiting for the next exchange to be published. The 
following strategies can be chosen:</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"> Description </th><th colspan="1" rowspan="1" 
class="confluenceTh"> Advice </th></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> Blocking </td><td colspan="1" rowspan="1" 
class="confluenceTd"> Blocking strategy that uses a lock and condition variable 
for Consumers waiting on a barrier. </td><td colspan="1" rowspan="1" 
class="confluenceTd">This strategy can be used when throughput and low-latency 
are not as important as CPU resource.</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> Sleeping </td><td colspan="1" rowspan="1" 
class="confluenceTd"> Sleeping strategy that initially spins, then uses a 
Thread.yield(), and eventually for the minimum number of nanos the OS and JVM 
will allow while the Consumers are waiting on a barrier. </td><td colspan="1" 
rowspan="1" class="confluenceTd"> This strategy is a good
  compromise between performance and CPU resource. Latency spikes can occur 
after quiet periods. </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> BusySpin </td><td colspan="1" rowspan="1" 
class="confluenceTd"> Busy Spin strategy that uses a busy spin loop for 
Consumers waiting on a barrier. </td><td colspan="1" rowspan="1" 
class="confluenceTd"> This strategy will use CPU resource to avoid syscalls 
which can introduce latency jitter. It is best used when threads can be bound 
to specific CPU cores. </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> Yielding </td><td colspan="1" rowspan="1" 
class="confluenceTd"> Yielding strategy that uses a Thread.yield() for 
Consumers waiting on a barrier after an initially spinning. </td><td 
colspan="1" rowspan="1" class="confluenceTd"> This strategy is a good 
compromise between performance and CPU resource without incurring significant 
latency spikes. </td></tr></tbody></table>
+</div>
+
+
+<h3><a shape="rect" name="Disruptor-UseofRequestReply"></a>Use of Request 
Reply</h3>
+<p>The Disruptor component supports using <a shape="rect" 
href="request-reply.html" title="Request Reply">Request Reply</a>, where the 
caller will wait for the Async route to complete. For instance:</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
+<pre class="code-java">
+from(<span class="code-quote">"mina:tcp:<span 
class="code-comment">//0.0.0.0:9876?textline=<span 
class="code-keyword">true</span>&amp;sync=<span 
class="code-keyword">true</span>"</span>).to(<span 
class="code-quote">"disruptor:input"</span>);
+</span>from(<span class="code-quote">"disruptor:input"</span>).to(<span 
class="code-quote">"bean:processInput"</span>).to(<span 
class="code-quote">"bean:createResponse"</span>);
+</pre>
+</div></div>
+
+<p>In the route above, we have a TCP listener on port 9876 that accepts 
incoming requests. The request is routed to the <em>disruptor:input</em> 
buffer. As it is a <a shape="rect" href="request-reply.html" title="Request 
Reply">Request Reply</a> message, we wait for the response. When the consumer 
on the <em>disruptor:input</em> buffer is complete, it copies the response to 
the original message response.</p>
+
+<h3><a shape="rect" name="Disruptor-Concurrentconsumers"></a>Concurrent 
consumers</h3>
+
+<p>By default, the Disruptor endpoint uses a single consumer thread, but you 
can configure it to use concurrent consumer threads. So instead of thread pools 
you can use:</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
+<pre class="code-java">
+from(<span 
class="code-quote">"disruptor:stageName?concurrentConsumers=5"</span>).process(...)
+</pre>
+</div></div>
+<p>As for the difference between the two, note a thread pool can 
increase/shrink dynamically at runtime depending on load, whereas the number of 
concurrent consumers is always fixed and supported by the Disruptor internally 
so performance will be higher.</p>
+
+<h3><a shape="rect" name="Disruptor-Threadpools"></a>Thread pools</h3>
+<p>Be aware that adding a thread pool to a Disruptor endpoint by doing 
something like:</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
+<pre class="code-java">
+from(<span 
class="code-quote">"disruptor:stageName"</span>).thread(5).process(...)
+</pre>
+</div></div>
+<p>Can wind up with adding a normal <a shape="rect" class="external-link" 
href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/concurrent/BlockingQueue.html";
 rel="nofollow">BlockingQueue</a> to be used in conjunction with the Disruptor, 
effectively negating part of the performance gains achieved by using the 
Disruptor. Instead, it is advices to directly configure number of threads that 
process messages on a Disruptor endpoint using the concurrentConsumers 
option.</p>
+
+<h3><a shape="rect" name="Disruptor-Sample"></a>Sample</h3>
+<p>In the route below we use the Disruptor to send the request to this async 
queue to be able to send a fire-and-forget message for further processing in 
another thread, and return a constant reply in this thread to the original 
caller.</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
+<pre class="code-java">
+<span class="code-keyword">public</span> void configure() <span 
class="code-keyword">throws</span> Exception {
+    from(<span class="code-quote">"direct:start"</span>)
+        <span class="code-comment">// send it to the disruptor that is async
+</span>        .to(<span class="code-quote">"disruptor:next"</span>)
+        <span class="code-comment">// <span class="code-keyword">return</span> 
a constant response
+</span>        .transform(constant(<span class="code-quote">"OK"</span>));
+
+    from(<span class="code-quote">"disruptor:next"</span>).to(<span 
class="code-quote">"mock:result"</span>);
+}
+</pre>
+</div></div>
+<p>Here we send a Hello World message and expects the reply to be OK.</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
+<pre class="code-java">
+<span class="code-object">Object</span> out = template.requestBody(<span 
class="code-quote">"direct:start"</span>, <span class="code-quote">"Hello 
World"</span>);
+assertEquals(<span class="code-quote">"OK"</span>, out);
+</pre>
+</div></div>
+<p>The "Hello World" message will be consumed from the Disruptor from another 
thread for further processing. Since this is from a unit test, it will be sent 
to a mock endpoint where we can do assertions in the unit test.</p>
+
+<h3><a shape="rect" name="Disruptor-UsingmultipleConsumers"></a>Using 
multipleConsumers</h3>
+<p>In this example we have defined two consumers and registered them as spring 
beans.</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
+<pre class="code-java">
+&lt;!-- define the consumers as spring beans --&gt;
+&lt;bean id=<span class="code-quote">"consumer1"</span> class=<span 
class="code-quote">"org.apache.camel.spring.example.FooEventConsumer"</span>/&gt;
+
+&lt;bean id=<span class="code-quote">"consumer2"</span> class=<span 
class="code-quote">"org.apache.camel.spring.example.AnotherFooEventConsumer"</span>/&gt;
+
+&lt;camelContext xmlns=<span class="code-quote">"http:<span 
class="code-comment">//camel.apache.org/schema/spring"</span>&gt;
+</span>    &lt;!-- define a shared endpoint which the consumers can refer to 
instead of using url --&gt;
+    &lt;endpoint id=<span class="code-quote">"foo"</span> uri=<span 
class="code-quote">"disruptor:foo?multipleConsumers=<span 
class="code-keyword">true</span>"</span>/&gt;
+&lt;/camelContext&gt;
+</pre>
+</div></div>
+<p>Since we have specified multipleConsumers=true on the Disruptor foo 
endpoint we can have those two or more consumers receive their own copy of the 
message as a kind of pub-sub style messaging. As the beans are part of an unit 
test they simply send the message to a mock endpoint, but notice how we can use 
@Consume to consume from the Disruptor.</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
+<pre class="code-java">
+<span class="code-keyword">public</span> class FooEventConsumer {
+
+    @EndpointInject(uri = <span class="code-quote">"mock:result"</span>)
+    <span class="code-keyword">private</span> ProducerTemplate destination;
+
+    @Consume(ref = <span class="code-quote">"foo"</span>)
+    <span class="code-keyword">public</span> void doSomething(<span 
class="code-object">String</span> body) {
+        destination.sendBody(<span class="code-quote">"foo"</span> + body);
+    }
+
+}
+</pre>
+</div></div>
+
+<h3><a shape="rect" 
name="Disruptor-Extractingdisruptorinformation"></a>Extracting disruptor 
information</h3>
+<p>If needed, information such as buffer size, etc. can be obtained without 
using JMX in this fashion:</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
+<pre class="code-java">
+DisruptorEndpoint disruptor = context.getEndpoint(<span 
class="code-quote">"disruptor:xxxx"</span>);
+<span class="code-object">int</span> size = disruptor.getBufferSize();
+</pre>
+</div></div>
+
+</div>
+        </td>
+        <td valign="top">
+          <div class="navigation">
+            <div class="navigation_top">
+                <!-- NavigationBar -->
+<div class="navigation_bottom" id="navigation_bottom"><h3><a shape="rect" 
name="Navigation-Overview"></a><a shape="rect" href="overview.html" 
title="Overview">Overview</a></h3>
+
+<ul class="alternate" type="square"><li><a shape="rect" href="index.html" 
title="Index">Home</a></li><li><a shape="rect" href="download.html" 
title="Download">Download</a></li><li><a shape="rect" 
href="getting-started.html" title="Getting Started">Getting 
Started</a></li><li><a shape="rect" href="faq.html" 
title="FAQ">FAQ</a></li></ul>
+
+
+<h3><a shape="rect" name="Navigation-Documentation"></a><a shape="rect" 
href="documentation.html" title="Documentation">Documentation</a></h3>
+
+<ul class="alternate" type="square"><li><a shape="rect" href="user-guide.html" 
title="User Guide">User Guide</a></li><li><a shape="rect" href="manual.html" 
title="Manual">Manual</a></li><li><a shape="rect" href="books.html" 
title="Books">Books</a></li><li><a shape="rect" href="tutorials.html" 
title="Tutorials">Tutorials</a></li><li><a shape="rect" href="examples.html" 
title="Examples">Examples</a></li><li><a shape="rect" href="cookbook.html" 
title="Cookbook">Cookbook</a></li><li><a shape="rect" href="architecture.html" 
title="Architecture">Architecture</a></li><li><a shape="rect" 
href="enterprise-integration-patterns.html" title="Enterprise Integration 
Patterns">Enterprise Integration Patterns</a></li><li><a shape="rect" 
href="dsl.html" title="DSL">DSL</a></li><li><a shape="rect" 
href="components.html" title="Components">Components</a></li><li><a 
shape="rect" href="data-format.html" title="Data Format">Data 
Format</a></li><li><a shape="rect" href="languages.html" title="Lang
 uages">Languages</a></li><li><a shape="rect" href="security.html" 
title="Security">Security</a></li></ul>
+
+
+<h3><a shape="rect" name="Navigation-Search"></a>Search</h3>
+
+
+<form enctype="application/x-www-form-urlencoded" method="get" 
id="cse-search-box" action="http://www.google.com/cse";>
+  <div>
+    <input type="hidden" name="cx" value="007878419884033443453:m5nhvy4hmyq">
+    <input type="hidden" name="ie" value="UTF-8">
+    <input type="text" name="q" size="21">
+    <input type="submit" name="sa" value="Search">
+  </div>
+</form>
+<script type="text/javascript" 
src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en";></script>
+
+
+<h3><a shape="rect" name="Navigation-Community"></a><a shape="rect" 
href="community.html" title="Community">Community</a></h3>
+
+<ul class="alternate" type="square"><li><a shape="rect" href="support.html" 
title="Support">Support</a></li><li><a shape="rect" href="contributing.html" 
title="Contributing">Contributing</a></li><li><a shape="rect" 
href="discussion-forums.html" title="Discussion Forums">Discussion 
Forums</a></li><li><a shape="rect" href="mailing-lists.html" title="Mailing 
Lists">Mailing Lists</a></li><li><a shape="rect" href="user-stories.html" 
title="User Stories">User Stories</a></li><li><a shape="rect" href="news.html" 
title="News">News</a></li><li><a shape="rect" href="articles.html" 
title="Articles">Articles</a></li><li><a shape="rect" href="site.html" 
title="Site">Site</a></li><li><a shape="rect" href="team.html" 
title="Team">Team</a></li><li><a shape="rect" class="external-link" 
href="http://camel-extra.googlecode.com/"; rel="nofollow">Camel 
Extra</a></li></ul>
+
+
+<h3><a shape="rect" name="Navigation-Developers"></a><a shape="rect" 
href="developers.html" title="Developers">Developers</a></h3>
+
+<ul class="alternate" type="square"><li><a shape="rect" href="developers.html" 
title="Developers">Developer Guide</a></li><li><a shape="rect" 
href="source.html" title="Source">Source</a></li><li><a shape="rect" 
href="building.html" title="Building">Building</a></li><li><a shape="rect" 
href="javadoc.html" title="JavaDoc">JavaDoc</a></li><li><a shape="rect" 
href="irc-room.html" title="IRC Room">IRC Room</a></li></ul>
+
+
+<h3><a shape="rect" name="Navigation-ApacheSoftwareFoundation"></a>Apache 
Software Foundation</h3>
+
+<ul class="alternate" type="square"><li><a shape="rect" class="external-link" 
href="http://www.apache.org/licenses/";>License</a></li><li><a shape="rect" 
class="external-link" 
href="http://www.apache.org/foundation/sponsorship.html";>Sponsorship</a></li><li><a
 shape="rect" class="external-link" 
href="http://www.apache.org/foundation/thanks.html";>Thanks</a></li><li><a 
shape="rect" class="external-link" 
href="http://www.apache.org/security/";>Security</a></li></ul>
+</div>
+                <!-- NavigationBar -->
+            </div>
+          </div>
+        </td>
+        </tr>
+       </tbody>
+        </table>
+
+
+        <div class="bottom_red_bar"></div>
+      </div>
+    </div>
+  </div>
+</div>
+<div class="black_box">
+<div class="footer">
+  <div class="footer_l">
+    <div class="footer_r">
+      <div>
+        <a href="$base/privacy-policy.html">Privacy Policy</a> -
+        (<a 
href="https://cwiki.apache.org/confluence/pages/editpage.action?pageId=31823686";>edit
 page</a>)
+        (<a 
href="https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=31823686&amp;showComments=true&amp;showCommentArea=true#addcomment";>add
 comment</a>)
+      </div>
+    </div>
+  </div>
+</div>
+</div>
+</div>
+<div class="design_attribution">
+&copy; 2004-2011 The Apache Software Foundation.
+<br>          
+Apache Camel, Camel, Apache, the Apache feather logo, and the Apache Camel 
project logo are trademarks of The Apache Software Foundation.  All other marks 
mentioned may be trademarks or registered trademarks of their respective owners.
+<br>
+<a href="http://hiramchirino.com";>Graphic Design By Hiram</a>
+</div>
+
+<!-- Camel committers that would like access to the Analytics, send a note to 
priv...@camel.apache.org -->
+<script type="text/javascript">
+
+  var _gaq = _gaq || [];
+  _gaq.push(['_setAccount', 'UA-25976253-1']);
+  _gaq.push(['_trackPageview']);
+
+  (function() {
+    var ga = document.createElement('script'); ga.type = 'text/javascript'; 
ga.async = true;
+    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 
'http://www') + '.google-analytics.com/ga.js';
+    var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(ga, s);
+  })();
+
+</script>
+
+</body>
+</html>
+
+

Modified: websites/production/camel/content/transport.html
==============================================================================
--- websites/production/camel/content/transport.html (original)
+++ websites/production/camel/content/transport.html Mon Jun  3 16:23:36 2013
@@ -237,7 +237,13 @@ direct-vm:name
 <pre class="code-xml">
 dns:operation
 </pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> To lookup 
domain information and run DNS queries using <a shape="rect" 
class="external-link" href="http://www.xbill.org/dnsjava/"; 
rel="nofollow">DNSJava</a> </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <a shape="rect" href="ejb.html" title="EJB">EJB</a> / 
camel-ejb
+</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> To lookup 
domain information and run DNS queries using <a shape="rect" 
class="external-link" href="http://www.xbill.org/dnsjava/"; 
rel="nofollow">DNSJava</a> </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <a shape="rect" href="disruptor.html" 
title="Disruptor">Disruptor</a> / camel-disruptor 
+<div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
+<pre class="code-xml">
+disruptor:name[?option=...]
+disruptor-vm:name[?option=...]
+</pre>
+</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> To provide 
the implementation of <a shape="rect" href="seda.html" title="SEDA">SEDA</a> 
which is based on <a shape="rect" class="external-link" 
href="https://github.com/LMAX-Exchange/disruptor"; rel="nofollow">disruptor</a> 
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" 
href="ejb.html" title="EJB">EJB</a> / camel-ejb
 <div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
 <pre class="code-xml">
 ejb:ejbName[?method=someMethod]

Modified: websites/production/camel/content/uris.html
==============================================================================
--- websites/production/camel/content/uris.html (original)
+++ websites/production/camel/content/uris.html Mon Jun  3 16:23:36 2013
@@ -235,7 +235,13 @@ direct-vm:name
 <pre class="code-xml">
 dns:operation
 </pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> To lookup 
domain information and run DNS queries using <a shape="rect" 
class="external-link" href="http://www.xbill.org/dnsjava/"; 
rel="nofollow">DNSJava</a> </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <a shape="rect" href="ejb.html" title="EJB">EJB</a> / 
camel-ejb
+</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> To lookup 
domain information and run DNS queries using <a shape="rect" 
class="external-link" href="http://www.xbill.org/dnsjava/"; 
rel="nofollow">DNSJava</a> </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <a shape="rect" href="disruptor.html" 
title="Disruptor">Disruptor</a> / camel-disruptor 
+<div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
+<pre class="code-xml">
+disruptor:name[?option=...]
+disruptor-vm:name[?option=...]
+</pre>
+</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> To provide 
the implementation of <a shape="rect" href="seda.html" title="SEDA">SEDA</a> 
which is based on <a shape="rect" class="external-link" 
href="https://github.com/LMAX-Exchange/disruptor"; rel="nofollow">disruptor</a> 
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" 
href="ejb.html" title="EJB">EJB</a> / camel-ejb
 <div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
 <pre class="code-xml">
 ejb:ejbName[?method=someMethod]


Reply via email to