You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by bu...@apache.org on 2012/11/01 17:18:02 UTC

svn commit: r836900 - in /websites/production/camel/content: cache/main.pageCache camel-2110-release.html controlbus-component.html controlbus.html

Author: buildbot
Date: Thu Nov  1 16:18:01 2012
New Revision: 836900

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/camel-2110-release.html
    websites/production/camel/content/controlbus-component.html
    websites/production/camel/content/controlbus.html

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

Modified: websites/production/camel/content/camel-2110-release.html
==============================================================================
--- websites/production/camel/content/camel-2110-release.html (original)
+++ websites/production/camel/content/camel-2110-release.html Thu Nov  1 16:18:01 2012
@@ -94,11 +94,14 @@
 
 <h3><a shape="rect" name="Camel2.11.0Release-NewEnterpriseIntegrationPatterns"></a>New <a shape="rect" href="enterprise-integration-patterns.html" title="Enterprise Integration Patterns">Enterprise Integration Patterns</a></h3>
 
+<ul><li><a shape="rect" href="controlbus.html" title="ControlBus">ControlBus</a> EIP</li></ul>
+
+
 <h3><a shape="rect" name="Camel2.11.0Release-NewCamelKarafCommand"></a>New Camel Karaf Command</h3>
 
 <h3><a shape="rect" name="Camel2.11.0Release-NewComponents"></a>New <a shape="rect" href="components.html" title="Components">Components</a></h3>
 
-<ul><li><tt><a shape="rect" href="cmis.html" title="CMIS">camel-cmis</a></tt> - for integration of CMIS compliant content repositories</li><li><tt><a shape="rect" href="couchdb.html" title="CouchDB">camel-couchdb</a></tt> - for integration with <a shape="rect" class="external-link" href="http://couchdb.apache.org/">Apache CouchDB</a></li><li><tt><a shape="rect" href="elasticsearch.html" title="ElasticSearch">camel-elasticsearch</a></tt> - for <a shape="rect" class="external-link" href="http://elasticsearch.org" rel="nofollow">ElasticSearch</a> integration</li><li><tt><a shape="rect" href="sjms.html" title="SJMS">camel-sjms</a></tt> - for "Springless" JMS integration</li><li><tt><a shape="rect" href="neo4j.html" title="Neo4j">camel-neo4j</a></tt> - for talking to neo4j server from Camel.</li></ul>
+<ul><li><a shape="rect" href="controlbus-component.html" title="ControlBus Component">ControlBus Component</a> - for easy management using a component supporting the <a shape="rect" href="controlbus.html" title="ControlBus">ControlBus</a> EIP</li><li><tt><a shape="rect" href="cmis.html" title="CMIS">camel-cmis</a></tt> - for integration of CMIS compliant content repositories</li><li><tt><a shape="rect" href="couchdb.html" title="CouchDB">camel-couchdb</a></tt> - for integration with <a shape="rect" class="external-link" href="http://couchdb.apache.org/">Apache CouchDB</a></li><li><tt><a shape="rect" href="elasticsearch.html" title="ElasticSearch">camel-elasticsearch</a></tt> - for <a shape="rect" class="external-link" href="http://elasticsearch.org" rel="nofollow">ElasticSearch</a> integration</li><li><tt><a shape="rect" href="sjms.html" title="SJMS">camel-sjms</a></tt> - for "Springless" JMS integration</li><li><tt><a shape="rect" href="neo4j.html" title="Neo4j">camel-neo4j
 </a></tt> - for talking to neo4j server from Camel.</li></ul>
 
 
 <h3><a shape="rect" name="Camel2.11.0Release-DSLChanges"></a>DSL Changes</h3>

Modified: websites/production/camel/content/controlbus-component.html
==============================================================================
--- websites/production/camel/content/controlbus-component.html (original)
+++ websites/production/camel/content/controlbus-component.html Thu Nov  1 16:18:01 2012
@@ -78,8 +78,8 @@
 <div class="wiki-content maincontent"><h2><a shape="rect" name="ControlBusComponent-ControlBusComponent"></a>ControlBus Component</h2>
 <p><b>Available as of Camel 2.11</b></p>
 
-<p>The <b>controlbus:</b> component provides direct, synchronous invocation of any consumers when a producer sends a message exchange.<br clear="none">
-This endpoint can be used to connect existing routes in the <b>same</b> camel context.</p>
+<p>The <b>controlbus:</b> component provides easy management of Camel applications based on the <a shape="rect" href="controlbus.html" title="ControlBus">Control Bus</a> EIP pattern.<br clear="none">
+For example by sending a message to an <a shape="rect" href="endpoint.html" title="Endpoint">Endpoint</a> you can control the lifecycle of routes, or gather performance statistics.</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
 <pre class="code-java">
@@ -91,13 +91,13 @@ controlbus:command[?options]
 
 <h3><a shape="rect" name="ControlBusComponent-Commands"></a>Commands </h3>
 <div class="confluenceTableSmall"><div class="table-wrap">
-<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"> Command </th><th colspan="1" rowspan="1" class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>language</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Allows to specify a <a shape="rect" href="language.html" title="Language">Language</a> to use for evaluating the message body. If there is any result from the evaluation, then the result is put on the message body. </td></tr></tbody></table>
+<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"> Command </th><th colspan="1" rowspan="1" class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>route</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> To control routes using the <tt>routeId</tt> and <tt>action</tt> parameter. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>language</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Allows to specify a <a shape="rect" href="language.html" title="Language">Language</a> to use for evaluating the message body. If there is any result from the evaluation, then the result is put on the message body. </td></tr></tbody></table>
 </div>
 </div>
 
 <h3><a shape="rect" name="ControlBusComponent-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></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>routeId</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> To specify a route by its id. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>action</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> To denote an action which can be either: <tt>start</tt>, <tt>stop</tt>, or <tt>status</tt>. To either start or stop a route. Og get the status of the route as output to the message body. </td></tr></tbody></table>
 </div>
 </div>
 
@@ -105,6 +105,23 @@ controlbus:command[?options]
 
 <h3><a shape="rect" name="ControlBusComponent-Samples"></a>Samples</h3>
 
+<h4><a shape="rect" name="ControlBusComponent-Usingroutecommand"></a>Using route command</h4>
+
+<p>The route command allows to do common tasks on a given route very easily, for example to start a route you can send a empty message to this endpoint:</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<pre class="code-java">
+template.sendBody(<span class="code-quote">"controlbus:route?routeId=foo&amp;action=start"</span>, <span class="code-keyword">null</span>);
+</pre>
+</div></div>
+
+<p>To get the status of the route you can do:</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<pre class="code-java">
+<span class="code-object">String</span> status = template.requestBody(<span class="code-quote">"controlbus:route?routeId=foo&amp;action=status"</span>, <span class="code-keyword">null</span>, <span class="code-object">String</span>.class);
+</pre>
+</div></div>
+
+
 <h4><a shape="rect" name="ControlBusComponent-UsingSimplelanguage"></a>Using <a shape="rect" href="simple.html" title="Simple">Simple</a> language</h4>
 
 <p>You can use <a shape="rect" href="simple.html" title="Simple">Simple</a> language with the control bus, for example to stop a specific route you can send a message to the <tt>"controlbus:language:simple"</tt> endpoint containing the following message:</p>
@@ -121,11 +138,12 @@ template.sendBody(<span class="code-quot
 </pre>
 </div></div>
 
+<div class="panelMacro"><table class="tipMacro"><colgroup span="1"><col span="1" width="24"><col span="1"></colgroup><tr><td colspan="1" rowspan="1" valign="top"><img align="middle" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" width="16" height="16" alt="" border="0"></td><td colspan="1" rowspan="1">You can also use other languages such as <a shape="rect" href="groovy.html" title="Groovy">Groovy</a> etc.</td></tr></table></div>
 
 <h3><a shape="rect" name="ControlBusComponent-SeeAlso"></a>See Also</h3>
 <ul><li><a shape="rect" href="configuring-camel.html" title="Configuring Camel">Configuring Camel</a></li><li><a shape="rect" href="component.html" title="Component">Component</a></li><li><a shape="rect" href="endpoint.html" title="Endpoint">Endpoint</a></li><li><a shape="rect" href="getting-started.html" title="Getting Started">Getting Started</a></li></ul>
 
-<ul class="alternate" type="square"><li><a shape="rect" href="controlbus.html" title="ControlBus">ControlBus</a></li><li><a shape="rect" href="camel-jmx.html" title="Camel JMX">Camel JMX</a></li></ul>
+<ul class="alternate" type="square"><li><a shape="rect" href="controlbus.html" title="ControlBus">ControlBus</a> EIP</li><li><a shape="rect" href="jmx.html" title="JMX">JMX</a> Component</li><li>Using <a shape="rect" href="camel-jmx.html" title="Camel JMX">JMX</a> with Camel</li></ul>
 </div>
         </td>
         <td valign="top">

Modified: websites/production/camel/content/controlbus.html
==============================================================================
--- websites/production/camel/content/controlbus.html (original)
+++ websites/production/camel/content/controlbus.html Thu Nov  1 16:18:01 2012
@@ -89,8 +89,8 @@
 <h2><a shape="rect" name="ControlBus-ControlBusComponent"></a>ControlBus Component</h2>
 <p><b>Available as of Camel 2.11</b></p>
 
-<p>The <b>controlbus:</b> component provides direct, synchronous invocation of any consumers when a producer sends a message exchange.<br clear="none">
-This endpoint can be used to connect existing routes in the <b>same</b> camel context.</p>
+<p>The <b>controlbus:</b> component provides easy management of Camel applications based on the <a shape="rect" href="controlbus.html" title="ControlBus">Control Bus</a> EIP pattern.<br clear="none">
+For example by sending a message to an <a shape="rect" href="endpoint.html" title="Endpoint">Endpoint</a> you can control the lifecycle of routes, or gather performance statistics.</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
 <pre class="code-java">
@@ -102,13 +102,13 @@ controlbus:command[?options]
 
 <h3><a shape="rect" name="ControlBus-Commands"></a>Commands </h3>
 <div class="confluenceTableSmall"><div class="table-wrap">
-<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"> Command </th><th colspan="1" rowspan="1" class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>language</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Allows to specify a <a shape="rect" href="language.html" title="Language">Language</a> to use for evaluating the message body. If there is any result from the evaluation, then the result is put on the message body. </td></tr></tbody></table>
+<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"> Command </th><th colspan="1" rowspan="1" class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>route</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> To control routes using the <tt>routeId</tt> and <tt>action</tt> parameter. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>language</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Allows to specify a <a shape="rect" href="language.html" title="Language">Language</a> to use for evaluating the message body. If there is any result from the evaluation, then the result is put on the message body. </td></tr></tbody></table>
 </div>
 </div>
 
 <h3><a shape="rect" name="ControlBus-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></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>routeId</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> To specify a route by its id. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>action</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> To denote an action which can be either: <tt>start</tt>, <tt>stop</tt>, or <tt>status</tt>. To either start or stop a route. Og get the status of the route as output to the message body. </td></tr></tbody></table>
 </div>
 </div>
 
@@ -116,6 +116,23 @@ controlbus:command[?options]
 
 <h3><a shape="rect" name="ControlBus-Samples"></a>Samples</h3>
 
+<h4><a shape="rect" name="ControlBus-Usingroutecommand"></a>Using route command</h4>
+
+<p>The route command allows to do common tasks on a given route very easily, for example to start a route you can send a empty message to this endpoint:</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<pre class="code-java">
+template.sendBody(<span class="code-quote">"controlbus:route?routeId=foo&amp;action=start"</span>, <span class="code-keyword">null</span>);
+</pre>
+</div></div>
+
+<p>To get the status of the route you can do:</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<pre class="code-java">
+<span class="code-object">String</span> status = template.requestBody(<span class="code-quote">"controlbus:route?routeId=foo&amp;action=status"</span>, <span class="code-keyword">null</span>, <span class="code-object">String</span>.class);
+</pre>
+</div></div>
+
+
 <h4><a shape="rect" name="ControlBus-UsingSimplelanguage"></a>Using <a shape="rect" href="simple.html" title="Simple">Simple</a> language</h4>
 
 <p>You can use <a shape="rect" href="simple.html" title="Simple">Simple</a> language with the control bus, for example to stop a specific route you can send a message to the <tt>"controlbus:language:simple"</tt> endpoint containing the following message:</p>
@@ -132,11 +149,12 @@ template.sendBody(<span class="code-quot
 </pre>
 </div></div>
 
+<div class="panelMacro"><table class="tipMacro"><colgroup span="1"><col span="1" width="24"><col span="1"></colgroup><tr><td colspan="1" rowspan="1" valign="top"><img align="middle" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" width="16" height="16" alt="" border="0"></td><td colspan="1" rowspan="1">You can also use other languages such as <a shape="rect" href="groovy.html" title="Groovy">Groovy</a> etc.</td></tr></table></div>
 
 <h3><a shape="rect" name="ControlBus-SeeAlso"></a>See Also</h3>
 <ul><li><a shape="rect" href="configuring-camel.html" title="Configuring Camel">Configuring Camel</a></li><li><a shape="rect" href="component.html" title="Component">Component</a></li><li><a shape="rect" href="endpoint.html" title="Endpoint">Endpoint</a></li><li><a shape="rect" href="getting-started.html" title="Getting Started">Getting Started</a></li></ul>
 
-<ul class="alternate" type="square"><li><a shape="rect" href="controlbus.html" title="ControlBus">ControlBus</a></li><li><a shape="rect" href="camel-jmx.html" title="Camel JMX">Camel JMX</a></li></ul>
+<ul class="alternate" type="square"><li><a shape="rect" href="controlbus.html" title="ControlBus">ControlBus</a> EIP</li><li><a shape="rect" href="jmx.html" title="JMX">JMX</a> Component</li><li>Using <a shape="rect" href="camel-jmx.html" title="Camel JMX">JMX</a> with Camel</li></ul>
 
 
 <h4><a shape="rect" name="ControlBus-UsingThisPattern"></a>Using This Pattern</h4>