camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r1003098 - in /websites/production/camel/content: cache/main.pageCache sjms.html
Date Mon, 19 Dec 2016 10:19:31 GMT
Author: buildbot
Date: Mon Dec 19 10:19:31 2016
New Revision: 1003098

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/sjms.html

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

Modified: websites/production/camel/content/sjms.html
==============================================================================
--- websites/production/camel/content/sjms.html (original)
+++ websites/production/camel/content/sjms.html Mon Dec 19 10:19:31 2016
@@ -136,7 +136,7 @@ component.setMaxConnections(1);
     .to("sjms:queue:bar?exchangePattern=InOut&namedReplyTo=my.reply.to.queue");
 ]]></script>
 </div></div><h3 id="SJMS-ConsumersConfigurationOptions">Consumers Configuration
Options</h3><p>The SjmsConsumer Endpoint supports the following properties:</p><div
class="confluenceTableSmall"><div class="table-wrap">
- <table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"><p>Option</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>acknowledgementMode</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>AUTO_ACKNOWLEDGE</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The JMS acknowledgement name, which
is one of: <code>TRANSACTED</code>, <code>AUTO_ACKNOWLEDGE</code>
or <code>DUPS_OK_ACKNOWLEDGE</code>. <code>CLIENT_ACKNOWLEDGE</code>
is not supported at this time.</p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>consumerCount</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>1</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Defines the number of <a shape="rect"
class="external-link" href
 ="http://docs.oracle.com/javaee/5/api/javax/jms/MessageListener.html" rel="nofollow">MessageListener</a>
instances.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>durableSubscriptionId</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Required for a durable subscriptions.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>exchangePattern</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>InOnly</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Sets the Consumers message exchange
pattern.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>messageSelector</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Sets the message selector.</p></td></tr><tr><td
colspan="1" rowspan="1" class="con
 fluenceTd"><p><code>synchronous</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>true</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Sets whether the Endpoint will use
synchronous or asynchronous processing.</p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>transacted</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>If the endpoint should use a JMS
Session transaction.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>transactionBatchCount</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>1</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The number of exchanges to process
before committing a local JMS transaction. The <code>transacted</code> property
must also be set to true or this property will be ignored.</p></td></tr><tr><td
colspan="1" rowspan="1" c
 lass="confluenceTd"><p><code>transactionBatchTimeout</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>5000</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The amount of time a the transaction
will stay open between messages before committing what has already been consumed. Minimum
value is 1000ms.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>ttl</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>-1</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Disabled by default. Sets the Message
time to live header.</p></td></tr></tbody></table>
+ <table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"><p>Option</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>acknowledgementMode</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>AUTO_ACKNOWLEDGE</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The JMS acknowledgement name, which
is one of: <code>TRANSACTED</code>, <code>AUTO_ACKNOWLEDGE</code>
or <code>DUPS_OK_ACKNOWLEDGE</code>. <code>CLIENT_ACKNOWLEDGE</code>
is not supported at this time.</p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>consumerCount</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>1</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Defines the number of <a shape="rect"
class="external-link" href
 ="http://docs.oracle.com/javaee/5/api/javax/jms/MessageListener.html" rel="nofollow">MessageListener</a>
instances.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>durableSubscriptionId</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Required for a durable subscriptions.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>exchangePattern</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>InOnly</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Sets the Consumers message exchange
pattern.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>messageSelector</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Sets the message selector.</p></td></tr><tr><td
colspan="1" rowspan="1" class="con
 fluenceTd"><p><code>synchronous</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>true</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Sets whether the Endpoint will use
synchronous or asynchronous processing.</p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>transacted</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>If the endpoint should use a JMS
Session transaction.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>transactionBatchCount</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>1</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The number of exchanges to process
before committing a local JMS transaction. The <code>transacted</code> property
must also be set to true or this property will be ignored.</p></td></tr><tr><td
colspan="1" rowspan="1" c
 lass="confluenceTd"><p><code>transactionBatchTimeout</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>5000</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The amount of time a the transaction
will stay open between messages before committing what has already been consumed. Minimum
value is 1000ms.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>ttl</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>-1</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Disabled by default. Sets the Message
time to live header.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><code>asyncStartListener</code></td><td colspan="1"
rowspan="1" class="confluenceTd"><code>false</code></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>Whether to startup the consumer message listener
asynchronously, when starting a route. For example if a JmsConsumer cannot get a connection
to a re
 mote JMS broker, then it may block while retrying and/or failover. This will cause Camel
to block while starting routes. By setting this option to true, you will let routes startup,
while the JmsConsumer connects to the JMS broker using a dedicated thread in asynchronous
mode. If this option is used, then beware that if the connection could not be established,
then an exception is logged at WARN level, and the consumer will not be able to receive messages;
You can then restart the route to retry.</p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><code>asyncStopListener</code></td><td
colspan="1" rowspan="1" class="confluenceTd"><code>false</code></td><td
colspan="1" rowspan="1" class="confluenceTd">Whether to stop the consumer message listener
asynchronously, when stopping a route.</td></tr></tbody></table>
 </div></div><h3 id="SJMS-ConsumerUsage">Consumer Usage</h3><h4
id="SJMS-InOnlyConsumer-(Default)">InOnly Consumer - (Default)</h4><p>The InOnly
Consumer is the default Exchange behavior of the SJMS Consumer 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[from(&quot;sjms:queue:bar&quot;)
     .to(&quot;mock:result&quot;);



Mime
View raw message