Author: buildbot Date: Sun May 5 12:18:19 2013 New Revision: 860919 Log: Production update by buildbot for camel
Modified: websites/production/camel/content/cache/main.pageCache 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/controlbus-component.html ============================================================================== --- websites/production/camel/content/controlbus-component.html (original) +++ websites/production/camel/content/controlbus-component.html Sun May 5 12:18:19 2013 @@ -79,7 +79,7 @@ <p><b>Available as of Camel 2.11</b></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> +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>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> +<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 you 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 in 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><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. You can use <tt>suspend</tt> and <tt>resume</tt> from <b>Camel 2.11.1</b> onwards to either suspend or resume a route. </td></tr>< tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>async</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Whether to execute the control bus task asynchronously. <b>Important:</b> If this option is enabled, then any result from the task is <b>not</b> set on the <a shape="rect" href="exchange.html" title="Exchange">Exchange</a>. This is only possible if executing tasks synchronously. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>loggingLevel</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>INFO</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Logging level used for logging when task is done, or if any exceptions occurred during processing the task. </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>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 <tt>id</tt>. </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 that can be either: <tt>start</tt>, <tt>stop</tt>, or <tt>status</tt>. To either start or stop a route, or to get the status of the route as output in the message body. You can use <tt>suspend</tt> and <tt>resume</tt> from <b>Camel 2.11.1</b> onwards to either suspend or resume a route. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>async</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Whether to execute the control bus task asynchronously. <b>Important:</b> If this option is enabled, then any result from the task is <b>not</b> set on the <a shape="rect" href="exchange.html" title="Exchange">Exchange</a>. This is only possible if executing tasks synchronously. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>loggingLevel</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>INFO</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Logging level used for logging when task is done, or if any exceptions occurred during processing the task. </td></tr></tbody></table> </div> </div> @@ -107,14 +107,14 @@ controlbus:command[?options] <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> +<p>The route command allows you to do common tasks on a given route very easily, for example to start a route, you can send an 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&action=start"</span>, <span class="code-keyword">null</span>); </pre> </div></div> -<p>To get the status of the route you can do:</p> +<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&action=status"</span>, <span class="code-keyword">null</span>, <span class="code-object">String</span>.class); @@ -124,21 +124,21 @@ template.sendBody(<span class="code-quot <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> +<p>You can use the <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> <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <pre class="code-java"> template.sendBody(<span class="code-quote">"controlbus:language:simple"</span>, <span class="code-quote">"${camelContext.stopRoute('myRoute')}"</span>); </pre> </div></div> -<p>As this operation is a void operation, then no result is returned. However if you want the route status you can do:</p> +<p>As this is a void operation, no result is returned. However, if you want the route status 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:language:simple"</span>, <span class="code-quote">"${camelContext.getRouteStatus('myRoute')}"</span>, <span class="code-object">String</span>.class); </pre> </div></div> -<p><b>Notice:</b> its easier to use the <tt>route</tt> command to control lifecycle of routes. Though the <tt>language</tt> command allows to execute a language script which has stronger powers such as <a shape="rect" href="groovy.html" title="Groovy">Groovy</a> or to some extend the <a shape="rect" href="simple.html" title="Simple">Simple</a> language. </p> +<p><b>Notice:</b> its easier to use the <tt>route</tt> command to control lifecycle of routes. The <tt>language</tt> command allows you to execute a language script that has stronger powers such as <a shape="rect" href="groovy.html" title="Groovy">Groovy</a> or to some extend the <a shape="rect" href="simple.html" title="Simple">Simple</a> language. </p> <p>For example to shutdown Camel itself you can do:</p> <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> @@ -148,7 +148,7 @@ template.sendBody(<span class="code-quot </div></div> <p>Notice we use <tt>async=true</tt> to stop Camel asynchronously as otherwise we would be trying to stop Camel while it was in-flight processing the message we sent to the control bus component.</p> -<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> +<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> Modified: websites/production/camel/content/controlbus.html ============================================================================== --- websites/production/camel/content/controlbus.html (original) +++ websites/production/camel/content/controlbus.html Sun May 5 12:18:19 2013 @@ -91,7 +91,7 @@ or use the event notifier which has an e <p><b>Available as of Camel 2.11</b></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> +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"> @@ -103,13 +103,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>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> +<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 you 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 in 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><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. You can use <tt>suspend</tt> and <tt>resume</tt> from <b>Camel 2.11.1</b> onwards to either suspend or resume a route. </td></tr>< tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>async</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Whether to execute the control bus task asynchronously. <b>Important:</b> If this option is enabled, then any result from the task is <b>not</b> set on the <a shape="rect" href="exchange.html" title="Exchange">Exchange</a>. This is only possible if executing tasks synchronously. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>loggingLevel</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>INFO</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Logging level used for logging when task is done, or if any exceptions occurred during processing the task. </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>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 <tt>id</tt>. </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 that can be either: <tt>start</tt>, <tt>stop</tt>, or <tt>status</tt>. To either start or stop a route, or to get the status of the route as output in the message body. You can use <tt>suspend</tt> and <tt>resume</tt> from <b>Camel 2.11.1</b> onwards to either suspend or resume a route. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>async</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Whether to execute the control bus task asynchronously. <b>Important:</b> If this option is enabled, then any result from the task is <b>not</b> set on the <a shape="rect" href="exchange.html" title="Exchange">Exchange</a>. This is only possible if executing tasks synchronously. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>loggingLevel</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>INFO</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Logging level used for logging when task is done, or if any exceptions occurred during processing the task. </td></tr></tbody></table> </div> </div> @@ -119,14 +119,14 @@ controlbus:command[?options] <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> +<p>The route command allows you to do common tasks on a given route very easily, for example to start a route, you can send an 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&action=start"</span>, <span class="code-keyword">null</span>); </pre> </div></div> -<p>To get the status of the route you can do:</p> +<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&action=status"</span>, <span class="code-keyword">null</span>, <span class="code-object">String</span>.class); @@ -136,21 +136,21 @@ template.sendBody(<span class="code-quot <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> +<p>You can use the <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> <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <pre class="code-java"> template.sendBody(<span class="code-quote">"controlbus:language:simple"</span>, <span class="code-quote">"${camelContext.stopRoute('myRoute')}"</span>); </pre> </div></div> -<p>As this operation is a void operation, then no result is returned. However if you want the route status you can do:</p> +<p>As this is a void operation, no result is returned. However, if you want the route status 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:language:simple"</span>, <span class="code-quote">"${camelContext.getRouteStatus('myRoute')}"</span>, <span class="code-object">String</span>.class); </pre> </div></div> -<p><b>Notice:</b> its easier to use the <tt>route</tt> command to control lifecycle of routes. Though the <tt>language</tt> command allows to execute a language script which has stronger powers such as <a shape="rect" href="groovy.html" title="Groovy">Groovy</a> or to some extend the <a shape="rect" href="simple.html" title="Simple">Simple</a> language. </p> +<p><b>Notice:</b> its easier to use the <tt>route</tt> command to control lifecycle of routes. The <tt>language</tt> command allows you to execute a language script that has stronger powers such as <a shape="rect" href="groovy.html" title="Groovy">Groovy</a> or to some extend the <a shape="rect" href="simple.html" title="Simple">Simple</a> language. </p> <p>For example to shutdown Camel itself you can do:</p> <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> @@ -160,7 +160,7 @@ template.sendBody(<span class="code-quot </div></div> <p>Notice we use <tt>async=true</tt> to stop Camel asynchronously as otherwise we would be trying to stop Camel while it was in-flight processing the message we sent to the control bus component.</p> -<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> +<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>