Author: buildbot
Date: Wed Mar 5 14:18:45 2014
New Revision: 900123
Log:
Production update by buildbot for camel
Modified:
websites/production/camel/content/cache/main.pageCache
websites/production/camel/content/delayer.html
websites/production/camel/content/karaf.html
Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.
Modified: websites/production/camel/content/delayer.html
==============================================================================
--- websites/production/camel/content/delayer.html (original)
+++ websites/production/camel/content/delayer.html Wed Mar 5 14:18:45 2014
@@ -86,66 +86,38 @@
<tbody>
<tr>
<td valign="top" width="100%">
-<div class="wiki-content maincontent"><h3 id="Delayer-Delayer">Delayer</h3>
-
-<p>The Delayer Pattern allows you to delay the delivery of messages to some
destination.</p>
-
- <div class="aui-message hint shadowed information-macro">
+<div class="wiki-content maincontent"><h3
id="Delayer-Delayer">Delayer</h3><p>The Delayer Pattern allows you to delay the
delivery of messages to some destination.</p> <div class="aui-message hint
shadowed information-macro">
<span class="aui-icon icon-hint">Icon</span>
<div class="message-content">
-
-<p>The expression is a value in millis to wait from the current time, so the
expression should just be <code>3000</code>.<br clear="none">
-However you can use a long value for a fixed value to indicate the delay in
millis.<br clear="none">
-See the Spring DSL samples for Delayer.</p>
+ <p>The expression is a value in millis to wait
from the current time, so the expression should just be <code>3000</code>.<br
clear="none"> However you can use a long value for a fixed value to indicate
the delay in millis.<br clear="none"> See the Spring DSL samples for
Delayer.</p>
</div>
</div>
-
-
<div class="aui-message problem shadowed information-macro">
<p class="title">Using Delayer in Java DSL</p>
<span class="aui-icon icon-problem">Icon</span>
<div class="message-content">
-
-<p>See this ticket: <a shape="rect" class="external-link"
href="https://issues.apache.org/jira/browse/CAMEL-2654">https://issues.apache.org/jira/browse/CAMEL-2654</a></p>
+ <p>See this ticket: <a shape="rect"
class="external-link"
href="https://issues.apache.org/jira/browse/CAMEL-2654">https://issues.apache.org/jira/browse/CAMEL-2654</a></p>
</div>
</div>
-
-
-<h3 id="Delayer-Options">Options</h3>
-
-<div class="confluenceTableSmall">
+<h3 id="Delayer-Options">Options</h3><div class="confluenceTableSmall">
<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>asyncDelayed</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>false</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel
2.4:</strong> If enabled then delayed messages happens asynchronously using a
scheduled thread pool. </p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p> <code>executorServiceRef</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> </p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p> <strong>Camel 2.4:</strong> Refers to a
custom <a shape="rect" href="threading-model.html" title="Threading
Model">Thread Pool</a> to be used if <code>asyncDel
ay</code> has been enabled. </p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p> <code>callerRunsWhenRejected</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>true</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel 2.4:</strong> Is
used if <code>asyncDelayed</code> was enabled. This controls if the caller
thread should execute the task if the thread pool rejected the task.
</p></td></tr></tbody></table>
-</div>
-
-<p><strong>Using the <a shape="rect" href="fluent-builders.html">Fluent
Builders</a></strong></p>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
+</div><p><strong>Using the <a shape="rect" href="fluent-builders.html">Fluent
Builders</a></strong></p><p>The example below will delay all messages received
on <strong>seda:b</strong> 1 second before sending them to <strong><a
shape="rect" class="external-link" href="http://mockresult"
rel="nofollow">mock:result</a></strong>.</p><div class="code panel pdl"
style="border-width: 1px;"><div class="codeContent panelContent pdl">
<script class="theme: Default; brush: java; gutter: false"
type="syntaxhighlighter"><![CDATA[
from("seda:b").delay(1000).to("mock:result");
]]></script>
-</div></div>
-
-<p>So the above example will delay all messages received on
<strong>seda:b</strong> 1 second before sending them to
<strong>mock:result</strong>. </p>
-
-<p>You can of course use many different <a shape="rect"
href="expression.html">Expression</a> languages such as <a shape="rect"
href="xpath.html">XPath</a>, <a shape="rect" href="xquery.html">XQuery</a>, <a
shape="rect" href="sql.html">SQL</a> or various <a shape="rect"
href="scripting-languages.html">Scripting Languages</a>. You can just delay
things a fixed amount of time from the point at which the delayer receives the
message. For example to delay things 2 seconds</p>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
-<script class="theme: Default; brush: java; gutter: false"
type="syntaxhighlighter"><![CDATA[
-delayer(2000)
+</div></div><p>You can just delay things a fixed amount of time from the point
at which the delayer receives the message. For example to delay things 2
seconds</p><div class="code panel pdl" style="border-width: 1px;"><div
class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false"
type="syntaxhighlighter"><![CDATA[delayer(2000)
]]></script>
-</div></div>
-
-<p>The above assume that the delivery order is maintained and that the
messages are delivered in delay order. If you want to reorder the messages
based on delivery time, you can use the <a shape="rect"
href="resequencer.html">Resequencer</a> with this pattern. For example</p>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
-<script class="theme: Default; brush: java; gutter: false"
type="syntaxhighlighter"><![CDATA[
-from("activemq:someQueue").resequencer(header("MyDeliveryTime")).delay("MyRedeliveryTime").to("activemq:aDelayedQueue");
+</div></div><p>The above assume that the delivery order is maintained and that
the messages are delivered in delay order. If you want to reorder the messages
based on delivery time, you can use the <a shape="rect"
href="resequencer.html">Resequencer</a> with this pattern. For example</p><div
class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false"
type="syntaxhighlighter"><![CDATA[from("activemq:someQueue").resequencer(header("MyDeliveryTime")).delay("MyRedeliveryTime").to("activemq:aDelayedQueue");
]]></script>
-</div></div>
-
-<h4 id="Delayer-SpringDSL">Spring DSL</h4>
-<p>The sample below demonstrates the delay in Spring DSL:</p>
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
+</div></div><p>You can of course use many different <a shape="rect"
href="expression.html">Expression</a> languages such as <a shape="rect"
href="xpath.html">XPath</a>, <a shape="rect" href="xquery.html">XQuery</a>, <a
shape="rect" href="sql.html">SQL</a> or various <a shape="rect"
href="scripting-languages.html">Scripting Languages</a>. For example to delay
the message for the time period specified in the header, use the following
syntax:</p><div class="code panel pdl" style="border-width: 1px;"><div
class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false"
type="syntaxhighlighter"><![CDATA[from("activemq:someQueue").delay(header("delayValue")).to("activemq:aDelayedQueue");
+]]></script>
+</div></div><p>And to delay processing using the <a shape="rect"
href="simple.html">Simple</a> language you can use the following DSL:</p><div
class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false"
type="syntaxhighlighter"><![CDATA[from("activemq:someQueue").delay(simple("${body.delayProperty}")).to("activemq:aDelayedQueue");
+]]></script>
+</div></div><h4 id="Delayer-SpringDSL">Spring DSL</h4><p>The sample below
demonstrates the delay in Spring DSL:</p><div class="code panel pdl"
style="border-width: 1px;"><div class="codeContent panelContent pdl">
<script class="theme: Default; brush: xml; gutter: false"
type="syntaxhighlighter"><![CDATA[
<bean id="myDelayBean"
class="org.apache.camel.processor.MyDelayCalcBean"/>
@@ -173,30 +145,11 @@ from("activemq:someQueue").res
</route>
</camelContext>
]]></script>
-</div></div>
-
-<p>For further examples of this pattern in use you could look at the <a
shape="rect" class="external-link"
href="http://svn.apache.org/viewvc/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/DelayerTest.java?view=markup">junit
test case</a></p>
-
-<h3 id="Delayer-Asynchronousdelaying">Asynchronous delaying</h3>
-<p><strong>Available as of Camel 2.4</strong></p>
-
-<p>You can let the <a shape="rect" href="delayer.html">Delayer</a> use non
blocking asynchronous delaying, which means Camel will use a scheduler to
schedule a task to be executed in the future. The task will then continue
routing. This allows the caller thread to not block and be able to service
other messages etc.</p>
-
-<h4 id="Delayer-FromJavaDSL">From Java DSL</h4>
-<p>You use the <code>asyncDelayed()</code> to enable the async behavior.</p>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
-<script class="theme: Default; brush: java; gutter: false"
type="syntaxhighlighter"><![CDATA[
-from("activemq:queue:foo").delay(1000).asyncDelayed().to("activemq:aDelayedQueue");
+</div></div><p>For further examples of this pattern in use you could look at
the <a shape="rect" class="external-link"
href="http://svn.apache.org/viewvc/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/DelayerTest.java?view=markup">junit
test case</a></p><h3 id="Delayer-Asynchronousdelaying">Asynchronous
delaying</h3><p><strong>Available as of Camel 2.4</strong></p><p>You can let
the <a shape="rect" href="delayer.html">Delayer</a> use non blocking
asynchronous delaying, which means Camel will use a scheduler to schedule a
task to be executed in the future. The task will then continue routing. This
allows the caller thread to not block and be able to service other messages
etc.</p><h4 id="Delayer-FromJavaDSL">From Java DSL</h4><p>You use the
<code>asyncDelayed()</code> to enable the async behavior.</p><div class="code
panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false"
type="syntaxhighlighter"><![CDATA[from("activemq:queue:foo").delay(1000).asyncDelayed().to("activemq:aDelayedQueue");
]]></script>
-</div></div>
-
-<h4 id="Delayer-FromSpringXML">From Spring XML</h4>
-<p>You use the <code>asyncDelayed="true"</code> attribute to enable the async
behavior.</p>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
-<script class="theme: Default; brush: xml; gutter: false"
type="syntaxhighlighter"><![CDATA[
-<route>
+</div></div><h4 id="Delayer-FromSpringXML">From Spring XML</h4><p>You use the
<code>asyncDelayed="true"</code> attribute to enable the async
behavior.</p><div class="code panel pdl" style="border-width: 1px;"><div
class="codeContent panelContent pdl">
+<script class="theme: Default; brush: xml; gutter: false"
type="syntaxhighlighter"><![CDATA[<route>
<from uri="activemq:queue:foo"/>
<delay asyncDelayed="true">
<constant>1000</constant>
@@ -204,25 +157,13 @@ from("activemq:queue:foo").del
<to uri="activemq:aDealyedQueue"/>
</route>
]]></script>
-</div></div>
-
-<h3 id="Delayer-Creatingacustomdelay">Creating a custom delay</h3>
-
-<p>You can use an expression to determine when to send a message using
something like this</p>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
-<script class="theme: Default; brush: java; gutter: false"
type="syntaxhighlighter"><![CDATA[
-from("activemq:foo").
+</div></div><h3 id="Delayer-Creatingacustomdelay">Creating a custom
delay</h3><p>You can use an expression to determine when to send a message
using something like this</p><div class="code panel pdl" style="border-width:
1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false"
type="syntaxhighlighter"><![CDATA[from("activemq:foo").
delay().method("someBean", "computeDelay").
to("activemq:bar");
]]></script>
-</div></div>
-
-<p>then the bean would look like this...</p>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
-<script class="theme: Default; brush: java; gutter: false"
type="syntaxhighlighter"><![CDATA[
-public class SomeBean {
+</div></div><p>then the bean would look like this...</p><div class="code panel
pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false"
type="syntaxhighlighter"><![CDATA[public class SomeBean {
public long computeDelay() {
long delay = 0;
// use java code to compute a delay value in millis
@@ -230,15 +171,9 @@ public class SomeBean {
}
}
]]></script>
-</div></div>
-
-<h4 id="Delayer-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>
-
-<h3 id="Delayer-SeeAlso">See Also</h3>
+</div></div><p></p><h4 id="Delayer-UsingThisPattern">Using This Pattern</h4>
-<ul><li><a shape="rect" href="delay-interceptor.html">Delay
Interceptor</a></li></ul></div>
+<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><h3
id="Delayer-SeeAlso">See Also</h3><ul><li><a shape="rect"
href="delay-interceptor.html">Delay Interceptor</a></li></ul></div>
</td>
<td valign="top">
<div class="navigation">
Modified: websites/production/camel/content/karaf.html
==============================================================================
--- websites/production/camel/content/karaf.html (original)
+++ websites/production/camel/content/karaf.html Wed Mar 5 14:18:45 2014
@@ -125,7 +125,7 @@
</div></div><p>If, if your route, you use an endpoint like "stream:out", you
have to install the camel-stream feature:</p><div class="code panel pdl"
style="border-width: 1px;"><div class="codeContent panelContent pdl">
<script class="theme: Default; brush: java; gutter: false"
type="syntaxhighlighter"><![CDATA[karaf@root> features:install camel-stream
]]></script>
-</div></div><h2 id="Karaf-Karafcommands">Karaf commands</h2><p>When you
install the camel feature, new Karaf commands become available
automatically.</p><h3 id="Karaf-KarafcommandsinCamel2.8.x">Karaf commands in
Camel 2.8.x</h3><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><strong>camel:list-contexts</strong></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Lists the camel contexts
available in the current Karaf instance</p></td></tr><tr><td colspan="1"
rowspan="1"
class="confluenceTd"><p><strong>camel:list-routes</strong></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Displays the list of Camel
routes available in the current Karaf instance</p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p><strong>camel:info-context</stron
g></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Displays detail
information about a given Camel context</p></td></tr><tr><td colspan="1"
rowspan="1"
class="confluenceTd"><p><strong>camel:start-context</strong></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Starts the given Camel
context</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><strong>camel:stop-context</strong></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Stops the given Camel
context</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><strong>camel:info-route</strong></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Provides detail information
about a Camel route</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><strong>camel:show-route</strong></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Renders the route in
XML</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><strong>camel:star
t-route</strong></p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>Starts the given route.</p></td></tr><tr><td
colspan="1" rowspan="1"
class="confluenceTd"><p><strong>camel:stop-route</strong></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Stops the given
route.</p></td></tr></tbody></table></div><h3
id="Karaf-KarafcommandsinCamel2.9onwards">Karaf commands in Camel 2.9
onwards</h3><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><strong>camel:context-list</strong></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Lists the camel contexts
available in the current Karaf instance</p></td></tr><tr><td colspan="1"
rowspan="1"
class="confluenceTd"><p><strong>camel:context-info</strong></p></td><td
colspan="1" rowspan="1" class="confluenceTd"
><p>Displays detail information about a given Camel
>context</p></td></tr><tr><td colspan="1" rowspan="1"
>class="confluenceTd"><p><strong>camel:context-start</strong></p></td><td
>colspan="1" rowspan="1" class="confluenceTd"><p>Starts the given Camel
>context</p></td></tr><tr><td colspan="1" rowspan="1"
>class="confluenceTd"><p><strong>camel:context-stop</strong></p></td><td
>colspan="1" rowspan="1" class="confluenceTd"><p>Stops the given Camel context
>(it becomes unavailable and it can't be started
>afterwards)</p></td></tr><tr><td colspan="1" rowspan="1"
>class="confluenceTd"><p><strong>camel:route-list</strong></p></td><td
>colspan="1" rowspan="1" class="confluenceTd"><p>Displays the list of Camel
>routes available in the current Karaf instance</p></td></tr><tr><td
>colspan="1" rowspan="1"
>class="confluenceTd"><p><strong>camel:route-info</strong></p></td><td
>colspan="1" rowspan="1" class="confluenceTd"><p>Provides detail information
>about a Camel route</p></td></tr><tr><td colspan="1" rows
pan="1" class="confluenceTd"><p><strong>camel:route-show</strong></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Renders the route in
XML</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><strong>camel:route-start</strong></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Starts the given route. From
Camel <strong>2.10</strong> onwards you can use * as wildcard to match multiple
routes.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><strong>camel:route-stop</strong></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Stops the given route. From
Camel <strong>2.10</strong> onwards you can use * as wildcard to match multiple
routes.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><strong>camel:route-suspend</strong></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Suspends the given route. From
Camel <strong>2.10</strong> onwards you can use * as wildcard to match multiple
routes.</
p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><strong>camel:route-resume</strong></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Resumes the given route. From
Camel <strong>2.10</strong> onwards you can use * as wildcard to match multiple
routes.</p></td></tr></tbody></table></div><h3
id="Karaf-KarafcommandsinCamel2.10onwards">Karaf commands in Camel 2.10
onwards</h3><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><strong>camel:endpoint-list</strong></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Lists endpoints fromm all camel
contexts available in the current Karaf
instance</p></td></tr></tbody></table></div><h3
id="Karaf-KarafcommandsinCamel2.11onwards">Karaf commands in Camel 2.11
onwards</h3><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><strong>camel:backlog-tracer-info</strong></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Provides detail information
about the <a shape="rect"
href="backlogtracer.html">BacklogTracer</a></p></td></tr><tr><td colspan="1"
rowspan="1"
class="confluenceTd"><p><strong>camel:backlog-tracer-dump</strong></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>To dump tracing on the console
from the <a shape="rect"
href="backlogtracer.html">BacklogTracer</a></p></td></tr><tr><td colspan="1"
rowspan="1"
class="confluenceTd"><p><strong>camel:backlog-tracer-start</strong></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>To start the <a shape="rect"
href="backlogtracer.html">BacklogTracer</a> on route(s)</p></td></tr><tr><td co
lspan="1" rowspan="1"
class="confluenceTd"><p><strong>camel:backlog-tracer-stop</strong></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>To stop the <a shape="rect"
href="backlogtracer.html">BacklogTracer</a> on route(s)</p></td></tr><tr><td
colspan="1" rowspan="1"
class="confluenceTd"><p><strong>camel:route-profile</strong></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>To profile
route(s)</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><strong>camel:route-reset-stats</strong></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>To reset performance stats on
the given route(s)</p></td></tr></tbody></table></div><h3
id="Karaf-KarafcommandsinCamel2.13onwards">Karaf commands in Camel 2.13
onwards</h3><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" rowsp
an="1"
class="confluenceTd"><p><strong>camel:context-suspend</strong></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Suspends the given Camel
context</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><strong>camel:context-resume</strong></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Resumes the given Camel
context</p></td></tr></tbody></table></div><h3
id="Karaf-camel:context-list">camel:context-list</h3><p>The
*<strong>camel:context-list</strong>* command displays the list of CamelContext
available in the current Karaf instance:</p><div class="code panel pdl"
style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><h2 id="Karaf-Karafcommands">Karaf commands</h2><p>When you
install the camel feature, new Karaf commands become available
automatically.</p><h3 id="Karaf-KarafcommandsinCamel2.8.x">Karaf commands in
Camel 2.8.x</h3><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><strong>camel:list-contexts</strong></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Lists the camel contexts
available in the current Karaf instance</p></td></tr><tr><td colspan="1"
rowspan="1"
class="confluenceTd"><p><strong>camel:list-routes</strong></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Displays the list of Camel
routes available in the current Karaf instance</p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p><strong>camel:info-context</stron
g></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Displays detail
information about a given Camel context</p></td></tr><tr><td colspan="1"
rowspan="1"
class="confluenceTd"><p><strong>camel:start-context</strong></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Starts the given Camel
context</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><strong>camel:stop-context</strong></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Stops the given Camel
context</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><strong>camel:info-route</strong></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Provides detail information
about a Camel route</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><strong>camel:show-route</strong></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Renders the route in
XML</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><strong>camel:star
t-route</strong></p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>Starts the given route.</p></td></tr><tr><td
colspan="1" rowspan="1"
class="confluenceTd"><p><strong>camel:stop-route</strong></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Stops the given
route.</p></td></tr></tbody></table></div><h3
id="Karaf-KarafcommandsinCamel2.9onwards">Karaf commands in Camel 2.9
onwards</h3><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><strong>camel:context-list</strong></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Lists the camel contexts
available in the current Karaf instance</p></td></tr><tr><td colspan="1"
rowspan="1"
class="confluenceTd"><p><strong>camel:context-info</strong></p></td><td
colspan="1" rowspan="1" class="confluenceTd"
><p>Displays detail information about a given Camel
>context</p></td></tr><tr><td colspan="1" rowspan="1"
>class="confluenceTd"><p><strong>camel:context-start</strong></p></td><td
>colspan="1" rowspan="1" class="confluenceTd"><p>Starts the given Camel
>context</p></td></tr><tr><td colspan="1" rowspan="1"
>class="confluenceTd"><p><strong>camel:context-stop</strong></p></td><td
>colspan="1" rowspan="1" class="confluenceTd"><p>Stops the given Camel context
>(it becomes unavailable and it can't be started
>afterwards)</p></td></tr><tr><td colspan="1" rowspan="1"
>class="confluenceTd"><p><strong>camel:route-list</strong></p></td><td
>colspan="1" rowspan="1" class="confluenceTd"><p>Displays the list of Camel
>routes available in the current Karaf instance</p></td></tr><tr><td
>colspan="1" rowspan="1"
>class="confluenceTd"><p><strong>camel:route-info</strong></p></td><td
>colspan="1" rowspan="1" class="confluenceTd"><p>Provides detail information
>about a Camel route</p></td></tr><tr><td colspan="1" rows
pan="1" class="confluenceTd"><p><strong>camel:route-show</strong></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Renders the route in
XML</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><strong>camel:route-start</strong></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Starts the given route. From
Camel <strong>2.10</strong> onwards you can use * as wildcard to match multiple
routes.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><strong>camel:route-stop</strong></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Stops the given route. From
Camel <strong>2.10</strong> onwards you can use * as wildcard to match multiple
routes.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><strong>camel:route-suspend</strong></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Suspends the given route. From
Camel <strong>2.10</strong> onwards you can use * as wildcard to match multiple
routes.</
p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><strong>camel:route-resume</strong></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Resumes the given route. From
Camel <strong>2.10</strong> onwards you can use * as wildcard to match multiple
routes.</p></td></tr></tbody></table></div><h3
id="Karaf-KarafcommandsinCamel2.10onwards">Karaf commands in Camel 2.10
onwards</h3><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><strong>camel:endpoint-list</strong></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Lists endpoints fromm all camel
contexts available in the current Karaf
instance</p></td></tr></tbody></table></div><h3
id="Karaf-KarafcommandsinCamel2.11onwards">Karaf commands in Camel 2.11
onwards</h3><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><strong>camel:backlog-tracer-info</strong></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Provides detail information
about the <a shape="rect"
href="backlogtracer.html">BacklogTracer</a></p></td></tr><tr><td colspan="1"
rowspan="1"
class="confluenceTd"><p><strong>camel:backlog-tracer-dump</strong></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>To dump tracing on the console
from the <a shape="rect"
href="backlogtracer.html">BacklogTracer</a></p></td></tr><tr><td colspan="1"
rowspan="1"
class="confluenceTd"><p><strong>camel:backlog-tracer-start</strong></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>To start the <a shape="rect"
href="backlogtracer.html">BacklogTracer</a> on route(s)</p></td></tr><tr><td co
lspan="1" rowspan="1"
class="confluenceTd"><p><strong>camel:backlog-tracer-stop</strong></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>To stop the <a shape="rect"
href="backlogtracer.html">BacklogTracer</a> on route(s)</p></td></tr><tr><td
colspan="1" rowspan="1"
class="confluenceTd"><p><strong>camel:route-profile</strong></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>To profile
route(s)</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><strong>camel:route-reset-stats</strong></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>To reset performance stats on
the given route(s)</p></td></tr></tbody></table></div><h3
id="Karaf-KarafcommandsinCamel2.12.4onwards">Karaf commands in Camel 2.12.4
onwards</h3><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" r
owspan="1"
class="confluenceTd"><p><strong>camel:context-suspend</strong></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Suspends the given Camel
context</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><strong>camel:context-resume</strong></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Resumes the given Camel
context</p></td></tr></tbody></table></div><h3
id="Karaf-camel:context-list">camel:context-list</h3><p>The
*<strong>camel:context-list</strong>* command displays the list of CamelContext
available in the current Karaf instance:</p><div class="code panel pdl"
style="border-width: 1px;"><div class="codeContent panelContent pdl">
<script class="theme: Default; brush: java; gutter: false"
type="syntaxhighlighter"><![CDATA[karaf@root> camel:context-list
Name Status Uptime
[66-camel-3 ] [Started ] [14.559 seconds ]
@@ -229,7 +229,7 @@ camel-id uri
[test ] [timer://test ] [Started ]
[test ] [direct://A ] [Started ]
]]></script>
-</div></div><p>It displays the context name/ID (used in others commands), the
URI of the endpoint and the current status (started/stopped).</p><h4
id="Karaf-Camel2.13ornewer:">Camel 2.13 or newer:</h4><h3
id="Karaf-camel:context-suspend">camel:context-suspend</h3><p>The
*<strong>camel:context-suspend</strong>* command suspends a given CamelContext.
It then may be resumed again.</p><div class="code panel pdl"
style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><p>It displays the context name/ID (used in others commands), the
URI of the endpoint and the current status (started/stopped).</p><h4
id="Karaf-Camel2.12.4ornewer:">Camel 2.12.4 or newer:</h4><h3
id="Karaf-camel:context-suspend">camel:context-suspend</h3><p>The
*<strong>camel:context-suspend</strong>* command suspends a given CamelContext.
It then may be resumed again.</p><div class="code panel pdl"
style="border-width: 1px;"><div class="codeContent panelContent pdl">
<script class="theme: Default; brush: java; gutter: false"
type="syntaxhighlighter"><![CDATA[karaf@root> karaf@root>
camel:context-suspend 66-camel-3
]]></script>
</div></div><p><em>Tip: use TAB key for completion on the CamelContext
name.</em></p><h3
id="Karaf-camel:context-resume">camel:context-resume</h3><p>The
*<strong>camel:context-resume</strong>* command resumes a given CamelContext.
After that it returns to the <em>started</em> state.</p><div class="code panel
pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">