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 2017/06/20 19:18:52 UTC

svn commit: r1014295 - in /websites/production/camel/content: cache/main.pageCache controlbus.html

Author: buildbot
Date: Tue Jun 20 19:18:52 2017
New Revision: 1014295

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/cache/main.pageCache
    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.html
==============================================================================
--- websites/production/camel/content/controlbus.html (original)
+++ websites/production/camel/content/controlbus.html Tue Jun 20 19:18:52 2017
@@ -85,19 +85,7 @@
 	<tbody>
         <tr>
         <td valign="top" width="100%">
-<div class="wiki-content maincontent"><h3 id="ControlBus-ControlBus">ControlBus</h3>
-<p>The <a shape="rect" class="external-link" href="http://www.eaipatterns.com/ControlBus.html" rel="nofollow">Control Bus</a> from the <a shape="rect" href="enterprise-integration-patterns.html">EIP patterns</a> allows for the integration system to be monitored and managed from within the framework. </p>
-
-<p><span class="confluence-embedded-file-wrapper"><img class="confluence-embedded-image confluence-external-resource" src="http://www.eaipatterns.com/img/ControlBus.gif" data-image-src="http://www.eaipatterns.com/img/ControlBus.gif"></span></p>
-
-<p>Use a Control Bus to manage an enterprise integration system. The Control Bus uses the same messaging mechanism used by the application data, but uses separate channels to transmit data that is relevant to the management of components involved in the message flow.</p>
-
-<p>In Camel you can manage and monitor using <a shape="rect" href="camel-jmx.html">JMX</a>, or by using a Java API from the <code>CamelContext</code>, or from the <code>org.apache.camel.api.management</code> package,<br clear="none">
-or use the event notifier which has an example <a shape="rect" href="eventnotifier-to-log-details-about-all-sent-exchanges.html">here</a>.</p>
-
-<p>From Camel 2.11 onwards we have introduced a new <a shape="rect" href="controlbus-component.html">ControlBus Component</a> that allows you to send messages to a control bus <a shape="rect" href="endpoint.html">Endpoint</a> that reacts accordingly.</p>
-
-<h2 id="ControlBus-ControlBusComponent">ControlBus Component</h2><p><strong>Available as of Camel 2.11</strong></p><p>The&#160;<strong><code>controlbus:</code></strong> component provides easy management of Camel applications based on the <a shape="rect" href="controlbus.html">Control Bus</a> EIP pattern. 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">
+<div class="wiki-content maincontent"><h3 id="ControlBus-ControlBus">ControlBus</h3><p>The <a shape="rect" class="external-link" href="http://www.eaipatterns.com/ControlBus.html" rel="nofollow">Control Bus</a> from the <a shape="rect" href="enterprise-integration-patterns.html">EIP patterns</a> allows for the integration system to be monitored and managed from within the framework.</p><p><span class="confluence-embedded-file-wrapper"><img class="confluence-embedded-image confluence-external-resource" src="http://www.eaipatterns.com/img/ControlBus.gif" data-image-src="http://www.eaipatterns.com/img/ControlBus.gif"></span></p><p>Use a Control Bus to manage an enterprise integration system. The Control Bus uses the same messaging mechanism used by the application data, but uses separate channels to transmit data that is relevant to the management of components involved in the message flow.</p><p>In Camel you can manage and monitor using <a shape="rect" href="camel-jmx.html">JMX</a>, or
  by using a Java API from the <strong><code>CamelContext</code></strong>, or from the <strong><code>org.apache.camel.api.management</code></strong> package,<br clear="none"> or use the event notifier which has an example <a shape="rect" href="eventnotifier-to-log-details-about-all-sent-exchanges.html">here</a>.</p><p>From <strong>Camel 2.11</strong>: we have introduced a new <a shape="rect" href="controlbus-component.html">ControlBus Component</a> that allows you to send messages to a control bus <a shape="rect" href="endpoint.html">Endpoint</a> that reacts accordingly.</p><p></p><h2 id="ControlBus-ControlBusComponent">ControlBus Component</h2><p><strong>Available as of Camel 2.11</strong></p><p>The&#160;<strong><code>controlbus:</code></strong> component provides easy management of Camel applications based on the <a shape="rect" href="controlbus.html">Control Bus</a> EIP pattern. For example, by sending a message to an <a shape="rect" href="endpoint.html">Endpoint</a> you can contr
 ol 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><code>command</code></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 <strong><code>routeId</code></strong> and <strong><code>action</code></strong> 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.</p><p>The result, if any, is returned in the message body.</p></td></t
 r></tbody></table></div></div>
@@ -128,9 +116,7 @@ or use the event notifier which has an e
 <script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[template.sendBody(&quot;controlbus:language:simple?async=true&quot;, &quot;${camelContext.stop()}&quot;);
 ]]></script>
 </div></div><p>Notice we use <strong><code>async=true</code></strong> 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="confluence-information-macro confluence-information-macro-tip"><span class="aui-icon aui-icon-small aui-iconfont-approve confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>You can also use other languages such as <a shape="rect" href="groovy.html">Groovy</a>, etc.</p></div></div><p></p><h3 id="ControlBus-SeeAlso">See Also</h3>
-<ul><li><a shape="rect" href="configuring-camel.html">Configuring Camel</a></li><li><a shape="rect" href="component.html">Component</a></li><li><a shape="rect" href="endpoint.html">Endpoint</a></li><li><a shape="rect" href="getting-started.html">Getting Started</a></li></ul><ul class="alternate"><li><a shape="rect" href="controlbus.html">ControlBus</a> EIP</li><li><a shape="rect" href="jmx.html">JMX</a> Component</li><li>Using <a shape="rect" href="camel-jmx.html">JMX</a> with Camel</li></ul>
-
-<h4 id="ControlBus-UsingThisPattern">Using This Pattern</h4>
+<ul><li><a shape="rect" href="configuring-camel.html">Configuring Camel</a></li><li><a shape="rect" href="component.html">Component</a></li><li><a shape="rect" href="endpoint.html">Endpoint</a></li><li><a shape="rect" href="getting-started.html">Getting Started</a></li></ul><ul class="alternate"><li><a shape="rect" href="controlbus.html">ControlBus</a> EIP</li><li><a shape="rect" href="jmx.html">JMX</a> Component</li><li>Using <a shape="rect" href="camel-jmx.html">JMX</a> with Camel</li></ul> <h4 id="ControlBus-UsingThisPattern">Using This Pattern</h4>
 
 <p>If you would like to use this EIP Pattern then please read the <a shape="rect" href="getting-started.html">Getting Started</a>, you may also find the <a shape="rect" href="architecture.html">Architecture</a> useful particularly the description of <a shape="rect" href="endpoint.html">Endpoint</a> and <a shape="rect" href="uris.html">URIs</a>. Then you could try out some of the <a shape="rect" href="examples.html">Examples</a> first before trying this pattern out.</p></div>
         </td>