camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r981148 - in /websites/production/camel/content: cache/main.pageCache controlbus-component.html controlbus.html
Date Thu, 25 Feb 2016 16:42:32 GMT
Author: buildbot
Date: Thu Feb 25 16:42:31 2016
New Revision: 981148

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 Thu Feb 25 16:42:31 2016
@@ -87,7 +87,7 @@
 <div class="wiki-content maincontent"><h2 id="ControlBusComponent-ControlBusComponent">ControlBus
Component</h2><p><strong>Available as of Camel 2.11</strong></p><p>The
<strong>controlbus:</strong> component provides easy management of Camel applications
based on the <a shape="rect" href="controlbus.html">Control Bus</a> EIP pattern.<br
clear="none"> For example, by sending a message to an <a shape="rect" href="endpoint.html">Endpoint</a>
you can control the lifecycle of routes, or gather performance statistics.</p><div
class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent
pdl">
 <script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[controlbus:command[?options]
 ]]></script>
-</div></div><p>Where <strong>command</strong> can be any string
to identify which type of command to use.</p><h3 id="ControlBusComponent-Commands">Commands</h3><div
class="confluenceTableSmall"><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh"><p>Command</p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>route</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>To control routes using the <code>routeId</code>
and <code>action</code> parameter.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>language</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Allows you to specify a <a shape="rect"
href="language.html">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.</p></td></tr></tbody
 ></table></div></div><h3 id="ControlBusComponent-Options">Options</h3><div
class="confluenceTableSmall"><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh"><p>Name</p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p>Default Value</p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>routeId</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>To specify a route by its <code>id</code>.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>action</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>To denote an action that can be either:
<code>start</code>, <code>stop, suspend, resume</code>, or <code>status</code>.
To eit
 her start or stop a route, or to get the status of the route as output in the message body.
You can use <code>suspend</code> and <code>resume</code> from <strong>Camel
2.11.1</strong> onwards to either suspend or resume a route. And from <strong>Camel
2.11.1</strong> onwards you can use <code>stats</code> to get performance
statics returned in XML format; the <code>routeId</code> option can be used to
define which route to get the performance stats for, if <code>routeId</code> is
not defined, then you get statistics for the entire <a shape="rect" href="camelcontext.html">CamelContext</a>.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>async</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Whether to execute the control bus
task asynchronously. <strong>Important:</strong> If this option is enabled, then
any result from the task is <strong>not</strong> set on th
 e <a shape="rect" href="exchange.html">Exchange</a>. This is only possible if
executing tasks synchronously.</p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>loggingLevel</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>INFO</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Logging level used for logging when
task is done, or if any exceptions occurred during processing the task.</p></td></tr></tbody></table></div></div><p>You
can append query options to the URI in the following format, <code>?option=value&amp;option=value&amp;...</code></p><h3
id="ControlBusComponent-Samples">Samples</h3><h4 id="ControlBusComponent-Usingroutecommand">Using
route command</h4><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 pdl" style="border-width: 1px;"><div class="codeContent panelContent
pdl">
+</div></div><p>Where <strong>command</strong> can be any string
to identify which type of command to use.</p><h3 id="ControlBusComponent-Commands">Commands</h3><div
class="confluenceTableSmall"><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh"><p>Command</p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>route</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>To control routes using the <code>routeId</code>
and <code>action</code> parameter.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>language</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Allows you to specify a <a shape="rect"
href="language.html">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.</p></td></tr></tbody
 ></table></div></div><h3 id="ControlBusComponent-Options">Options</h3><div
class="confluenceTableSmall"><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh"><p>Name</p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p>Default Value</p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>routeId</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>To specify a route by its <code>id</code>.
The special keyword "current" indicates the current route.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>action</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>To denote an action that can be either:
<code>start</code>, <code>s
 top, suspend, resume</code>, or <code>status</code>. To either start or
stop a route, or to get the status of the route as output in the message body. You can use
<code>suspend</code> and <code>resume</code> from <strong>Camel
2.11.1</strong> onwards to either suspend or resume a route. And from <strong>Camel
2.11.1</strong> onwards you can use <code>stats</code> to get performance
statics returned in XML format; the <code>routeId</code> option can be used to
define which route to get the performance stats for, if <code>routeId</code> is
not defined, then you get statistics for the entire <a shape="rect" href="camelcontext.html">CamelContext</a>.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>async</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Whether to execute the control bus
task asynchronously. <strong>Important:</strong> If this option is enabled, then
  any result from the task is <strong>not</strong> set on the <a shape="rect"
href="exchange.html">Exchange</a>. This is only possible if executing tasks synchronously.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>loggingLevel</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>INFO</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Logging level used for logging when
task is done, or if any exceptions occurred during processing the task.</p></td></tr></tbody></table></div></div><p>You
can append query options to the URI in the following format, <code>?option=value&amp;option=value&amp;...</code></p><h3
id="ControlBusComponent-Samples">Samples</h3><h4 id="ControlBusComponent-Usingroutecommand">Using
route command</h4><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 pdl" style="border-
 width: 1px;"><div class="codeContent panelContent pdl">
 <script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[template.sendBody(&quot;controlbus:route?routeId=foo&amp;action=start&quot;,
null);
 ]]></script>
 </div></div><p>To get the status of the route, you can do:</p><div
class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent
pdl">

Modified: websites/production/camel/content/controlbus.html
==============================================================================
--- websites/production/camel/content/controlbus.html (original)
+++ websites/production/camel/content/controlbus.html Thu Feb 25 16:42:31 2016
@@ -100,7 +100,7 @@ or use the event notifier which has an e
 <h2 id="ControlBus-ControlBusComponent">ControlBus Component</h2><p><strong>Available
as of Camel 2.11</strong></p><p>The <strong>controlbus:</strong>
component provides easy management of Camel applications based on the <a shape="rect" href="controlbus.html">Control
Bus</a> EIP pattern.<br clear="none"> For example, by sending a message to an
<a shape="rect" href="endpoint.html">Endpoint</a> you can control the lifecycle
of routes, or gather performance statistics.</p><div class="code panel pdl" style="border-width:
1px;"><div class="codeContent panelContent pdl">
 <script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[controlbus:command[?options]
 ]]></script>
-</div></div><p>Where <strong>command</strong> can be any string
to identify which type of command to use.</p><h3 id="ControlBus-Commands">Commands</h3><div
class="confluenceTableSmall"><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh"><p>Command</p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>route</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>To control routes using the <code>routeId</code>
and <code>action</code> parameter.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>language</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Allows you to specify a <a shape="rect"
href="language.html">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.</p></td></tr></tbody></table>
 </div></div><h3 id="ControlBus-Options">Options</h3><div class="confluenceTableSmall"><div
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1"
rowspan="1" class="confluenceTh"><p>Name</p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p>Default Value</p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p>Description</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>routeId</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>To specify a route by its <code>id</code>.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>action</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>To denote an action that can be either:
<code>start</code>, <code>stop, suspend, resume</code>, or <code>status</code>.
To either start or stop 
 a route, or to get the status of the route as output in the message body. You can use <code>suspend</code>
and <code>resume</code> from <strong>Camel 2.11.1</strong> onwards
to either suspend or resume a route. And from <strong>Camel 2.11.1</strong> onwards
you can use <code>stats</code> to get performance statics returned in XML format;
the <code>routeId</code> option can be used to define which route to get the performance
stats for, if <code>routeId</code> is not defined, then you get statistics for
the entire <a shape="rect" href="camelcontext.html">CamelContext</a>.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>async</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Whether to execute the control bus
task asynchronously. <strong>Important:</strong> If this option is enabled, then
any result from the task is <strong>not</strong> set on the <a shape="rect"

 href="exchange.html">Exchange</a>. This is only possible if executing tasks synchronously.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>loggingLevel</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>INFO</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Logging level used for logging when
task is done, or if any exceptions occurred during processing the task.</p></td></tr></tbody></table></div></div><p>You
can append query options to the URI in the following format, <code>?option=value&amp;option=value&amp;...</code></p><h3
id="ControlBus-Samples">Samples</h3><h4 id="ControlBus-Usingroutecommand">Using
route command</h4><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 pdl" style="border-width: 1px;"><div class="codeContent panelContent
pdl">
+</div></div><p>Where <strong>command</strong> can be any string
to identify which type of command to use.</p><h3 id="ControlBus-Commands">Commands</h3><div
class="confluenceTableSmall"><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh"><p>Command</p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>route</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>To control routes using the <code>routeId</code>
and <code>action</code> parameter.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>language</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Allows you to specify a <a shape="rect"
href="language.html">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.</p></td></tr></tbody></table>
 </div></div><h3 id="ControlBus-Options">Options</h3><div class="confluenceTableSmall"><div
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1"
rowspan="1" class="confluenceTh"><p>Name</p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p>Default Value</p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p>Description</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>routeId</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>To specify a route by its <code>id</code>.
The special keyword "current" indicates the current route.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>action</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>To denote an action that can be either:
<code>start</code>, <code>stop, suspend, resu
 me</code>, or <code>status</code>. To either start or stop a route, or
to get the status of the route as output in the message body. You can use <code>suspend</code>
and <code>resume</code> from <strong>Camel 2.11.1</strong> onwards
to either suspend or resume a route. And from <strong>Camel 2.11.1</strong> onwards
you can use <code>stats</code> to get performance statics returned in XML format;
the <code>routeId</code> option can be used to define which route to get the performance
stats for, if <code>routeId</code> is not defined, then you get statistics for
the entire <a shape="rect" href="camelcontext.html">CamelContext</a>.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>async</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Whether to execute the control bus
task asynchronously. <strong>Important:</strong> If this option is enabled, then
any result from t
 he task is <strong>not</strong> set on the <a shape="rect" href="exchange.html">Exchange</a>.
This is only possible if executing tasks synchronously.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>loggingLevel</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>INFO</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Logging level used for logging when
task is done, or if any exceptions occurred during processing the task.</p></td></tr></tbody></table></div></div><p>You
can append query options to the URI in the following format, <code>?option=value&amp;option=value&amp;...</code></p><h3
id="ControlBus-Samples">Samples</h3><h4 id="ControlBus-Usingroutecommand">Using
route command</h4><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 pdl" style="border-width: 1px;"><div class="codeContent
  panelContent pdl">
 <script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[template.sendBody(&quot;controlbus:route?routeId=foo&amp;action=start&quot;,
null);
 ]]></script>
 </div></div><p>To get the status of the route, you can do:</p><div
class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent
pdl">



Mime
View raw message