Author: buildbot
Date: Tue Apr 23 17:20:32 2019
New Revision: 1044053

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/activemq-camel-tomcat.html
    websites/production/camel/content/book-component-appendix.html
    websites/production/camel/content/book-dataformat-appendix.html
    websites/production/camel/content/book-in-one-page.html
    websites/production/camel/content/book-pattern-appendix.html
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/custom-dataformat.html
    
websites/production/camel/content/how-do-i-retry-processing-a-message-from-a-certain-point-back-or-an-entire-route.html
    websites/production/camel/content/jackson-xml.html
    
websites/production/camel/content/running-camel-standalone-and-have-it-keep-running.html
    websites/production/camel/content/servlet-tomcat-example.html
    websites/production/camel/content/servlet-tomcat-no-spring-example.html
    websites/production/camel/content/stax.html
    websites/production/camel/content/tutorial-example-reportincident-part6.html

Modified: websites/production/camel/content/activemq-camel-tomcat.html
==============================================================================
--- websites/production/camel/content/activemq-camel-tomcat.html (original)
+++ websites/production/camel/content/activemq-camel-tomcat.html Tue Apr 23 
17:20:32 2019
@@ -238,15 +238,7 @@ select the process which has catalina in
           <div class="navigation">
             <div class="navigation_top">
                 <!-- NavigationBar -->
-<div class="navigation_bottom" id="navigation_bottom"><h3 
id="Navigation-Overview"><a shape="rect" 
href="overview.html">Overview</a></h3><ul class="alternate"><li><a shape="rect" 
href="index.html">Home</a></li><li><a shape="rect" 
href="download.html">Download</a></li><li><a shape="rect" 
href="getting-started.html">Getting Started</a></li><li><a shape="rect" 
href="faq.html">FAQ</a></li></ul><h3 id="Navigation-Documentation"><a 
shape="rect" href="documentation.html">Documentation</a></h3><ul 
class="alternate"><li><a shape="rect" href="user-guide.html">User 
Guide</a></li><li><a shape="rect" href="manual.html">Manual</a></li><li><a 
shape="rect" href="books.html">Books</a></li><li><a shape="rect" 
href="tutorials.html">Tutorials</a></li><li><a shape="rect" 
href="examples.html">Examples</a></li><li><a shape="rect" 
href="cookbook.html">Cookbook</a></li><li><a shape="rect" 
href="architecture.html">Architecture</a></li><li><a shape="rect" 
href="enterprise-integration-patterns.html">Enterprise
  Integration Patterns</a></li><li><a shape="rect" 
href="dsl.html">DSL</a></li><li><a shape="rect" 
href="components.html">Components</a></li><li><a shape="rect" 
href="data-format.html">Data Format</a></li><li><a shape="rect" 
href="languages.html">Languages</a></li><li><a shape="rect" 
href="security.html">Security</a></li><li><a shape="rect" 
href="security-advisories.html">Security Advisories</a></li></ul><h3 
id="Navigation-Search">Search</h3><form 
enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" 
action="http://www.google.com/cse";>
-  <div>
-    <input type="hidden" name="cx" value="007878419884033443453:m5nhvy4hmyq">
-    <input type="hidden" name="ie" value="UTF-8">
-    <input type="text" name="q" size="21">
-    <input type="submit" name="sa" value="Search">
-  </div>
-</form>
-<script type="text/javascript" 
src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en";></script><h3
 id="Navigation-Community"><a shape="rect" 
href="community.html">Community</a></h3><ul class="alternate"><li><a 
shape="rect" href="support.html">Support</a></li><li><a shape="rect" 
href="contributing.html">Contributing</a></li><li><a shape="rect" 
href="mailing-lists.html">Mailing Lists</a></li><li><a shape="rect" 
href="irc-room.html">Gitter / IRC Chat</a></li><li><a shape="rect" 
href="user-stories.html">User Stories</a></li><li><a shape="rect" 
href="news.html">News</a></li><li><a shape="rect" 
href="articles.html">Articles</a></li><li><a shape="rect" 
href="site.html">Site</a></li><li><a shape="rect" 
href="team.html">Team</a></li><li><a shape="rect" class="external-link" 
href="http://camel-extra.googlecode.com/"; rel="nofollow">Camel 
Extra</a></li></ul><h3 id="Navigation-Developers"><a shape="rect" 
href="developers.html">Developers</a></h3><ul class="alternate"><li><a s
 hape="rect" href="developers.html">Developer Guide</a></li><li><a shape="rect" 
href="source.html">Source</a></li><li><a shape="rect" class="external-link" 
href="https://github.com/apache/camel/"; rel="nofollow">Github</a></li><li><a 
shape="rect" href="building.html">Building</a></li><li><a shape="rect" 
href="javadoc.html">JavaDoc</a></li></ul><h3 
id="Navigation-ApacheSoftwareFoundation">Apache Software Foundation</h3><ul 
class="alternate"><li><a shape="rect" class="external-link" 
href="http://www.apache.org/licenses/";>License</a></li><li><a shape="rect" 
class="external-link" 
href="http://www.apache.org/foundation/sponsorship.html";>Sponsorship</a></li><li><a
 shape="rect" class="external-link" 
href="http://www.apache.org/foundation/thanks.html";>Thanks</a></li><li><a 
shape="rect" class="external-link" 
href="http://www.apache.org/security/";>Security</a></li></ul><p>&#160;</p><p><a 
shape="rect" class="external-link" 
href="http://www.apache.org/events/current-event.html";><span class="confl
 uence-embedded-file-wrapper"><img class="confluence-embedded-image 
confluence-external-resource" 
src="http://www.apache.org/events/current-event-125x125.png"; 
data-image-src="http://www.apache.org/events/current-event-125x125.png";></span></a></p></div>
+<div class="navigation_bottom" id="navigation_bottom"><h3 
id="Navigation-Overview"><a shape="rect" 
href="overview.html">Overview</a></h3><ul class="alternate"><li><a shape="rect" 
href="index.html">Home</a></li><li><a shape="rect" 
href="download.html">Download</a></li><li><a shape="rect" 
href="getting-started.html">Getting Started</a></li><li><a shape="rect" 
href="faq.html">FAQ</a></li></ul><h3 id="Navigation-Documentation"><a 
shape="rect" href="documentation.html">Documentation</a></h3><ul 
class="alternate"><li><a shape="rect" href="user-guide.html">User 
Guide</a></li><li><a shape="rect" href="manual.html">Manual</a></li><li><a 
shape="rect" href="books.html">Books</a></li><li><a shape="rect" 
href="tutorials.html">Tutorials</a></li><li><a shape="rect" 
href="examples.html">Examples</a></li><li><a shape="rect" 
href="cookbook.html">Cookbook</a></li><li><a shape="rect" 
href="architecture.html">Architecture</a></li><li><a shape="rect" 
href="enterprise-integration-patterns.html">Enterprise
  Integration Patterns</a></li><li><a shape="rect" 
href="dsl.html">DSL</a></li><li><a shape="rect" 
href="components.html">Components</a></li><li><a shape="rect" 
href="data-format.html">Data Format</a></li><li><a shape="rect" 
href="languages.html">Languages</a></li><li><a shape="rect" 
href="security.html">Security</a></li><li><a shape="rect" 
href="security-advisories.html">Security Advisories</a></li></ul><h3 
id="Navigation-Search">Search</h3><div class="aui-message aui-message-error"><p 
class="title"><strong>Error rendering macro 'html'</strong></p><p>Your 
Confluence administrator has disallowed the use of Javascript in the HTML 
macro.  This setting can be changed using  HTML for Confluence Configuration.  
Please see your administrator for details.</p></div><h3 
id="Navigation-Community"><a shape="rect" 
href="community.html">Community</a></h3><ul class="alternate"><li><a 
shape="rect" href="support.html">Support</a></li><li><a shape="rect" 
href="contributing.html">Contributing</a></li>
 <li><a shape="rect" href="mailing-lists.html">Mailing Lists</a></li><li><a 
shape="rect" href="irc-room.html">Gitter / IRC Chat</a></li><li><a shape="rect" 
href="user-stories.html">User Stories</a></li><li><a shape="rect" 
href="news.html">News</a></li><li><a shape="rect" 
href="articles.html">Articles</a></li><li><a shape="rect" 
href="site.html">Site</a></li><li><a shape="rect" 
href="team.html">Team</a></li><li><a shape="rect" class="external-link" 
href="http://camel-extra.googlecode.com/"; rel="nofollow">Camel 
Extra</a></li></ul><h3 id="Navigation-Developers"><a shape="rect" 
href="developers.html">Developers</a></h3><ul class="alternate"><li><a 
shape="rect" href="developers.html">Developer Guide</a></li><li><a shape="rect" 
href="source.html">Source</a></li><li><a shape="rect" class="external-link" 
href="https://github.com/apache/camel/"; rel="nofollow">Github</a></li><li><a 
shape="rect" href="building.html">Building</a></li><li><a shape="rect" 
href="javadoc.html">JavaDoc</a></li></ul><
 h3 id="Navigation-ApacheSoftwareFoundation">Apache Software Foundation</h3><ul 
class="alternate"><li><a shape="rect" class="external-link" 
href="http://www.apache.org/licenses/";>License</a></li><li><a shape="rect" 
class="external-link" 
href="http://www.apache.org/foundation/sponsorship.html";>Sponsorship</a></li><li><a
 shape="rect" class="external-link" 
href="http://www.apache.org/foundation/thanks.html";>Thanks</a></li><li><a 
shape="rect" class="external-link" 
href="http://www.apache.org/security/";>Security</a></li></ul><p>&#160;</p><p><a 
shape="rect" class="external-link" 
href="http://www.apache.org/events/current-event.html";><span 
class="confluence-embedded-file-wrapper"><img class="confluence-embedded-image 
confluence-external-resource" 
src="http://www.apache.org/events/current-event-125x125.png"; 
data-image-src="http://www.apache.org/events/current-event-125x125.png";></span></a></p></div>
                 <!-- NavigationBar -->
             </div>
           </div>

Modified: websites/production/camel/content/book-component-appendix.html
==============================================================================
--- websites/production/camel/content/book-component-appendix.html (original)
+++ websites/production/camel/content/book-component-appendix.html Tue Apr 23 
17:20:32 2019
@@ -3397,7 +3397,7 @@ rnc:someLocalOrRemoteResource</pre>
 </plain-text-body><p>Where <strong><code>destinationName</code></strong> is a 
JMS queue or topic name. By default, the 
<strong><code>destinationName</code></strong> is interpreted as a queue name. 
For example, to connect to the queue, <strong><code>FOO.BAR</code></strong> 
use:</p><plain-text-body>jms:FOO.BAR
 </plain-text-body><p>You can include the optional 
<strong><code>queue:</code></strong> prefix, if you 
prefer:</p><plain-text-body>jms:queue:FOO.BAR
 </plain-text-body><p>To connect to a topic, you <em>must</em> include the 
<strong><code>topic:</code></strong> prefix. For example, to connect to the 
topic, <strong><code>Stocks.Prices</code></strong>, 
use:</p><plain-text-body>jms:topic:Stocks.Prices
-</plain-text-body><p>You append query options to the URI using the following 
format: 
<strong><code>?option=value&amp;option=value&amp;...</code></strong></p><h3 
id="BookComponentAppendix-Notes">Notes</h3><parameter ac:name="title">Using 
ActiveMQ</parameter><rich-text-body><p>The JMS component reuses Spring 2's 
<strong><code>JmsTemplate</code></strong> for sending messages. This is not 
ideal for use in a non-J2EE container and typically requires some caching in 
the JMS provider to avoid <a shape="rect" class="external-link" 
href="http://activemq.apache.org/jmstemplate-gotchas.html";>poor 
performance</a>.</p><p>If you intend to use <a shape="rect" 
class="external-link" href="http://activemq.apache.org/";>Apache ActiveMQ</a> as 
your Message Broker - which is a good choice as ActiveMQ rocks <img 
class="emoticon emoticon-smile" 
src="https://cwiki.apache.org/confluence/s/en_GB/7901/17fbf59dc6f69bee0caf86e0cbbd7fb3bd9d8b4a/_/images/icons/emoticons/smile.svg";
 data-emoticon-name="smile" alt="(
 smile)"> , then we recommend that you either:</p><ul><li><p>Use the <a 
shape="rect" href="activemq.html">ActiveMQ</a> component, which is already 
optimized to use ActiveMQ efficiently</p></li><li><p>Use the 
<strong><code>PoolingConnectionFactory</code></strong> in 
ActiveMQ</p></li></ul></rich-text-body><h4 
id="BookComponentAppendix-TransactionsandCacheLevels">Transactions and Cache 
Levels</h4><p><parameter ac:name="">transactionCacheLevels</parameter><br 
clear="none"> If you are consuming messages and using transactions 
(<strong><code>transacted=true</code></strong>) then the default cache level 
can negatively impact performance. If you are using XA transactions then you 
cannot cache as it can cause the XA transaction to not work properly.</p><p>If 
you are <em>not</em> using XA, then you should consider caching as it speeds up 
performance, such as setting 
<strong><code>cacheLevelName=CACHE_CONSUMER</code></strong>. Through Camel 
2.7.x, the default setting for <strong><code>cacheLeve
 lName</code></strong> is <strong><code>CACHE_CONSUMER</code></strong>. You 
will need to explicitly set 
<strong><code>cacheLevelName=CACHE_NONE</code></strong>. In Camel 2.8 onward, 
the default setting for <strong><code>cacheLevelName</code></strong> is 
<strong><code>CACHE_AUTO</code></strong>. This default auto detects the mode 
and sets the cache level accordingly to:</p><ul 
class="alternate"><li><p><strong><code>CACHE_CONSUMER</code></strong> 
when&#160;<strong><code>transacted=false</code></strong></p></li><li><p><strong><code>CACHE_NONE</code></strong>
 when&#160;<strong><code>transacted=true</code></strong></p></li></ul><p>So you 
can say the default setting is conservative. Consider using 
<strong><code>cacheLevelName=CACHE_CONSUMER</code></strong> if you are using 
non-XA transactions.</p><h4 
id="BookComponentAppendix-DurableSubscriptions">Durable Subscriptions</h4><p>If 
you wish to use durable topic subscriptions, you need to specify 
both&#160;<strong><code>clientId</code></strong
 >&#160; and <strong><code>durableSubscriptionName</code>. </strong>The value 
 >of the<strong> <code>clientId</code></strong> must be unique and can only be 
 >used by a single JMS connection instance in your entire network. You may 
 >prefer to use <a shape="rect" class="external-link" 
 >href="http://activemq.apache.org/virtual-destinations.html";>Virtual 
 >Topics</a> instead to avoid this limitation. More background on durable 
 >messaging <a shape="rect" class="external-link" 
 >href="http://activemq.apache.org/how-do-durable-queues-and-topics-work.html";>here</a>.</p><h4
 > id="BookComponentAppendix-MessageHeaderMapping">Message Header 
 >Mapping</h4><p>When using message headers, the JMS specification states that 
 >header names must be valid Java identifiers. So try to name your headers to 
 >be valid Java identifiers. One benefit of doing this is that you can then use 
 >your headers inside a JMS Selector (whose SQL92 syntax mandates Java 
 >identifier syntax for headers).</p><p>A simple strategy for mapping heade
 r names is used by default. The strategy is to replace any dots and hyphens in 
the header name as shown below and to reverse the replacement when the header 
name is restored from a JMS message sent over the wire. What does this mean? No 
more losing method names to invoke on a bean component, no more losing the 
filename header for the File Component, and so on.</p><p>The current header 
name strategy for accepting header names in Camel is:</p><ul 
class="alternate"><li><p>Dots are replaced by 
<strong><code>_DOT_</code></strong> and the replacement is reversed when Camel 
consume the message</p></li><li><p>Hyphen is replaced by 
<strong><code>_HYPHEN_</code></strong> and the replacement is reversed when 
Camel consumes the message</p></li></ul><h3 
id="BookComponentAppendix-ConfigurationOptions">Configuration 
Options</h3><p>You can configure many different properties on the JMS endpoint 
which map to properties on the <a shape="rect" class="external-link" 
href="http://camel.apache.org/maven/
 
current/camel-jms/apidocs/org/apache/camel/component/jms/JmsConfiguration.html">JMSConfiguration
 POJO</a>.</p><parameter ac:name="title">Mapping to Spring 
JMS</parameter><rich-text-body><p>Many of these properties map to properties on 
Spring JMS, which Camel uses for sending and receiving messages. Therefore for 
more information about these properties consult the Spring 
documentation.</p></rich-text-body><p>The options are divided into two tables, 
the first one contains the most common options. The second table contains the 
less common and more advanced options.</p><h4 
id="BookComponentAppendix-CommonOptions">Common 
Options</h4><p>&#160;</p><parameter 
ac:name="class">confluenceTableSmall</parameter><rich-text-body><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>clientId</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 JMS client ID to use. Note that 
 >this value, if specified, must be unique and can only be used by a single JMS 
 >connection instance. It is typically only required for durable topic 
 >subscriptions. You may prefer to use <a shape="rect" class="external-link" 
 >href="http://activemq.apache.org/virtual-destinations.html";>Virtual 
 >Topics</a> instead.</p></td></tr><tr><td colspan="1" rowspan="1" 
 >class="confluenceTd"><p><code>concurrentConsumers</code></p></td><td 
 >colspan="1" rowspan="1" class="confluenceTd"><p><code>1</code></p></td><td 
 >colspan="1" rowspan="1" class="confluenceTd"><p>Specifies the default number 
 >of concurrent consumers.</p><p>From <strong>Camel 2.10.3</strong>: this 
 >option can also be used when doing request/reply over JMS.</p><p>From 
 ><strong>Cam
 el 2.16</strong>: there is a new 
<strong><code>replyToConcurrentConsumers</code></strong>.</p><p>See the 
<strong><code>maxMessagesPerTask</code></strong> option to control dynamic 
scaling up/down of threads.</p><p>When using ActiveMQ beware that the default 
prefetch policy loads 1000 messages per consumer. See <a shape="rect" 
class="external-link" 
href="http://activemq.apache.org/what-is-the-prefetch-limit-for.html";>What is 
the prefetch limit</a> on how to change this.</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>disableReplyTo</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>When 
<strong><code>true</code></strong>, a producer will behave like 
a&#160;<strong><code>InOnly</code></strong> exchange with the exception that 
<strong><code>JMSReplyTo</code></strong> header is sent out and not be 
suppressed like in the case of <strong><code>InOnly</code></strong>. L
 ike <strong><code>InOnly</code></strong> the producer will not wait for a 
reply. A consumer with this flag will behave like 
<strong><code>InOnly</code></strong>. This feature can be used to bridge 
<strong><code>InOut</code></strong> requests to another queue so that a route 
on the other queue will send it&#180;s response directly back to the original 
<strong><code>JMSReplyTo</code></strong>.</p></td></tr><tr><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p><code>durableSubscriptionName</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>The durable subscriber name for 
specifying durable topic subscriptions. The 
<strong><code>clientId</code></strong> option <strong>must</strong> be 
configured as well.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>maxConcurrentConsumers</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>1</code></p></td><td
  colspan="1" rowspan="1" class="confluenceTd"><p>Specifies the maximum number 
of concurrent consumers.</p><p>From <strong>Camel 2.10.3</strong>: this option 
can also be used when doing request/reply over JMS. 
<span>&#160;</span></p><p><span>From </span><strong>Camel 2.16</strong><span>: 
there is a new <strong><code>replyToMaxConcurrentConsumers</code></strong>. 
</span></p><p>See also the <strong><code>maxMessagesPerTask</code></strong> 
option to control dynamic scaling up/down of threads.</p><p>The 
<strong><code>maxMessagesPerTask</code></strong><span> option <em>must</em> be 
set to an integer greater than&#160;<strong><code>0</code></strong> for threads 
to scale down. Otherwise, the number of threads will remain at 
<span><strong><code>maxConcurrentConsumers</code></strong> until 
shutdown.</span></span></p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>maxMessagesPerTask</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 messages 
a task can receive after which it's terminated. The default, 
<strong><code>-1</code></strong>, is unlimited.</p><p>If you use a range for 
concurrent consumers 
e.g.,&#160;<strong><code>concurrentConsumers</code></strong>&#160;<code>&lt;</code>
 <strong><code>maxConcurrentConsumers</code></strong> then this option can be 
used to set a value to e.g., <strong><code>100</code></strong> to control how 
fast the consumers will shrink when less work is required.</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>preserveMessageQos</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Set to <strong><code>true</code></strong>, 
if you want to send message using the QoS settings specified on the message, 
instead of the QoS settings on the JMS endpoint. The following headers are 
considered:</p><ul><li><str
 
ong><code>JMSPriority</code></strong></li><li><strong><code>JMSDeliveryMode</code></strong></li><li><strong><code>JMSExpiration</code></strong>.</li></ul><p>You
 can provide some or all of them.</p><p>If not provided, Camel will fall back 
to use the values from the endpoint instead. So, when using this option, the 
headers override the values from the endpoint.</p><p>The 
<strong><code>explicitQosEnabled</code></strong> option, by contrast, will only 
use options set on the endpoint, and not values from the message 
header.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>replyTo</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Provides an 
explicit&#160;<strong><code>ReplyTo</code></strong> destination, which 
overrides any incoming value of 
<strong><code>Message.getJMSReplyTo()</code></strong>.</p><p>If you do <a 
shape="rect" href="request-reply.html">Request Reply</a
 > over JMS then <strong>make sure</strong> to read the section 
 > <em>Request-reply over JMS</em> further below for more details, and the 
 > <strong><code>replyToType</code></strong> option as 
 > well.</p></td></tr><tr><td colspan="1" rowspan="1" 
 > class="confluenceTd"><p><code>replyToConcurrentConsumers</code></p></td><td 
 > colspan="1" rowspan="1" class="confluenceTd"><p><code>1</code></p></td><td 
 > colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.16</strong>: 
 > Specifies the default number of concurrent consumers when doing 
 > request/reply over JMS.</p></td></tr><tr><td colspan="1" rowspan="1" 
 > class="confluenceTd"><p><code>replyToMaxConcurrentConsumers</code></p></td><td
 >  colspan="1" rowspan="1" class="confluenceTd"><p><code>1</code></p></td><td 
 > colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.16</strong>: 
 > Specifies the maximum number of concurrent consumers when doing 
 > request/reply over JMS.</p><p>See 
 > the&#160;<strong><code>maxMessagesPerTask</code></strong> option to c
 ontrol dynamic scaling up/down of threads.</p></td></tr><tr><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p><code>replyToOnTimeoutMaxConcurrentConsumers</code></p></td><td
 colspan="1" rowspan="1" class="confluenceTd"><p><code>1</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.17.2</strong>: 
Specifies the maximum number of concurrent consumers for continue routing when 
timeout occurred when using request/reply over JMS.</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>replyToOverride</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><strong>Camel 2.15:</strong> Provides an 
explicit&#160;<strong><code>ReplyTo</code></strong> destination in the JMS 
message, which overrides the setting of <strong><code>ReplyTo</code></strong>. 
It is useful if you want to forward the message to a remote Queue and receive 
the reply message from the&
 #160;<strong><code>ReplyTo</code></strong> destination.</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>replyToType</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><strong>Camel 2.9:</strong> Allows for 
explicitly specifying which kind of strategy to use 
for&#160;<strong><code>replyTo</code></strong> queues when doing request/reply 
over JMS. Possible values 
are:</p><ul><li><strong><code>Temporary</code></strong></li><li><strong><code>Shared</code></strong></li><li><strong><code>Exclusive</code></strong></li></ul><p>By
 default Camel will use&#160;<strong><code>Temporary</code></strong> 
queues.</p><p>However if <strong><code>replyTo</code></strong> has been 
configured, then <strong><code>Shared</code></strong> is used by default. This 
option allows you to use exclusive queues instead of shared queues.</p><p>For 
more details see below, and especially the notes abo
 ut the implications if running in a clustered environment, and the fact that 
<strong><code>Shared</code></strong> reply queues has lower performance than 
its alternatives <strong><code>Temporary</code></strong> and 
<strong><code>Exclusive</code></strong>.</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>requestTimeout</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>20000</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><strong>Producer only:</strong> 
The timeout for waiting for a reply when using 
the&#160;<strong><code>InOut</code></strong> <a shape="rect" 
href="exchange-pattern.html">Exchange Pattern</a> (in milliseconds).</p><p>From 
<strong>Camel 2.13/2.12.3</strong>: you can include the header 
<strong><code>CamelJmsRequestTimeout</code></strong> to override this endpoint 
configured timeout value, and thus have per message individual timeout 
values.</p><p>See below in section <em>About time to live</em> for more 
 details. See also 
the&#160;<strong><code>requestTimeoutCheckerInterval</code></strong> 
option.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>selector</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 JMS Selector, which is an SQL 92 
predicate that is used to filter messages within the broker. You may have to 
encode special characters like '<strong><code>='</code></strong> 
as&#160;<strong><code>%3D</code></strong>.</p><p>Before<strong> Camel 
2.3.0</strong>: this option was not supported 
in&#160;<strong><code>CamelConsumerTemplate</code></strong>.</p></td></tr><tr><td
 colspan="1" rowspan="1" 
class="confluenceTd"><p><code>timeToLive</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>When sending messages, specifies the 
time-to-live of the message (in milliseconds
 ).</p><p>See below in section <em>About time to live</em> for more 
details.</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>Specifies whether to use transacted mode 
for sending/receiving messages using 
the&#160;<strong><code>InOnly</code></strong> <a shape="rect" 
href="exchange-pattern.html">Exchange Pattern</a>.</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>testConnectionOnStartup</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.1:</strong> 
Specifies whether to test the connection on startup. This ensures that when 
Camel starts that all the JMS consumers have a valid connection to the JMS 
broker. If a connection cannot be granted then Camel throws an exception o
 n startup. This ensures that Camel is not started with failed 
connections.</p><p>From <strong>Camel 2.8</strong>: also the JMS producers is 
tested as well.</p></td></tr></tbody></table></div><h4 
id="BookComponentAppendix-AdvancedOptions">Advanced Options</h4><parameter 
ac:name="class">confluenceTableSmall</parameter><rich-text-body>&#160;</rich-text-body><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>acceptMessagesWhileStopping</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Specifies whether the consumer 
accept messages while it is stopping.</p><p>You may consider enabling this 
option, if you
  start and stop <a shape="rect" href="jms.html">JMS</a> routes at run-time, 
while there are still messages enqueued on the queue. If this option is 
<strong><code>false</code></strong>, and you stop the <a shape="rect" 
href="jms.html">JMS</a> route, then messages may be rejected, and the JMS 
broker would have to attempt re-deliveries, which yet again may be rejected, 
and eventually the message may be moved at a dead letter queue on the JMS 
broker. To avoid this scenario it's recommended this option be set to 
<strong><code>true</code></strong>.</p></td></tr><tr><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p><code>acknowledgementModeName</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:</p><ul><li><strong><code>SESSION_TRANSACTED</code></strong></li><li><strong><code>CLIENT_ACKNOWLEDGE</code></strong></li><li><strong><code>AUTO_A
 
CKNOWLEDGE</code></strong></li><li><strong><code>DUPS_OK_ACKNOWLEDGE</code></strong>.</li></ul></td></tr><tr><td
 colspan="1" rowspan="1" 
class="confluenceTd"><p><code>acknowledgementMode</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 JMS acknowledgement mode 
defined as an Integer. Allows you to set vendor-specific extensions to the 
acknowledgment mode. For the regular modes, it is preferable to use the 
<strong><code>acknowledgementModeName</code></strong> 
instead.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>allowNullBody</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.9.3/2.10.1:</strong> 
Whether to allow sending messages with no body. If this option is 
<code>false</code> and the message body is null, then an 
<strong><code>JMSException</code><
 /strong> is thrown.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>allowReplyManagerQuickStop</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 
the&#160;<strong><code>DefaultMessageListenerContainer</code></strong> used in 
the reply managers for request-reply messaging allow 
the&#160;<strong><code>DefaultMessageListenerContainer.runningAllowed</code></strong>
 flag to quick stop in case 
link&#160;<strong><code>JmsConfigurationisAcceptMessagesWhileStopping()</code></strong>
 is enabled and CamelContext is currently being stopped. This quick stop 
ability is enabled by default in the regular JMS consumers but to enable for 
reply managers you must enable this flag.</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>alwaysCopyMessage</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td 
colspa
 n="1" rowspan="1" class="confluenceTd"><p>If 
<strong><code>true</code></strong>, Camel will always make a JMS message copy 
of the message when it is passed to the producer for sending. Copying the 
message is needed in some situations, such as when a 
<strong><code>replyToDestinationSelectorName</code></strong> is 
set.</p><p>Camel will set the 
<strong><code>alwaysCopyMessage=true</code></strong>, if a 
<strong><code>replyToDestinationSelectorName</code></strong> is 
set.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>asyncConsumer</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.9:</strong> Whether the 
<strong><code>JmsConsumer</code></strong> processes the <a shape="rect" 
href="exchange.html">Exchange</a> <a shape="rect" 
href="asynchronous-routing-engine.html">asynchronously</a>. If enabled then the 
<strong><code>JmsConsumer</code></strong> may pi
 ckup the next message from the JMS queue, while the previous message is being 
processed asynchronously (by the <a shape="rect" 
href="asynchronous-routing-engine.html">Asynchronous Routing Engine</a>). This 
means that messages may be processed not 100% strictly in order. If disabled 
(as default) then the <a shape="rect" href="exchange.html">Exchange</a> is 
fully processed before the <strong><code>JmsConsumer</code></strong> will 
pickup the next message from the JMS queue.</p><p><strong>Note</strong>: if 
<strong><code>transacted</code></strong> has been enabled, then 
<strong><code>asyncConsumer=true</code></strong> does not run asynchronously, 
as transactions must be executed synchronously (Camel 3.0 may support 
asynchronous transactions).</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>asyncStartListener</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>C
 amel 2.10:</strong> Whether to startup the 
<strong><code>JmsConsumer</code></strong> message listener asynchronously, when 
starting a route. For example if a <strong><code>JmsConsumer</code></strong> 
cannot get a connection to a remote 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 <code>true</code>, you will let routes startup, while 
the <strong><code>JmsConsumer</code></strong> 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 
<code>WARN</code> 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"><p><code>asyncStopListener</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td 
colspan="1" rowsp
 an="1" class="confluenceTd"><p><strong>Camel 2.10:</strong> Whether to stop 
the <strong><code>JmsConsumer</code></strong> message listener asynchronously, 
when stopping a route.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>autoStartup</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>true</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Specifies whether the consumer container 
should auto-startup.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>cacheLevel</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>Sets the cache level by ID for the underlying JMS 
resources. See&#160;<strong><code>cacheLevelName</code></strong> option for 
more details.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>cacheLevelName</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><ul><li><p><code>C
 ACHE_AUTO</code>&#160;(Camel &gt;= 2.8.0)<code> <br 
clear="none"></code></p></li><li><p><code>CACHE_CONSUMER </code>(Camel &lt;= 
2.7.1)</p></li></ul></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>Sets the cache level by name for the underlying JMS 
resources. Valid values 
are:</p><ul><li><strong><code><strong><code>CACHE_NONE</code></strong></code></strong></li><li><strong><code>CACHE_CONNECTION</code></strong></li><li><strong><code>CACHE_SESSION</code></strong></li><li><strong><code>CACHE_CONSUMER</code></strong></li><li><strong><code>CACHE_AUTO</code></strong></li></ul><p>From
 <strong>Camel 2.8</strong>: the default is 
<strong><code>CACHE_AUTO</code></strong>.</p><p>For <strong>Camel 
2.7.1</strong> and older the default is 
<strong><code>CACHE_CONSUMER</code></strong>.</p><p>See the <a shape="rect" 
class="external-link" 
href="https://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/jms/listener/DefaultMessageListenerContainer.html";
 rel="nofollow">Spring d
 ocumentation</a> and <a shape="rect" 
href="#BookComponentAppendix-transactionCacheLevels">Transactions Cache 
Levels</a> for more information.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>connectionFactory</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>The default JMS connection factory to use 
for the&#160;<strong><code>listenerConnectionFactory</code></strong> and 
<strong><code>templateConnectionFactory</code></strong>, if neither is 
specified.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>consumerType</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>Default</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>The Spring JMS listener type to 
use. A valid value is one of: <strong><code>Simple</code>, 
<code>Default</code></strong> or <strong><code>Custom</code></strong>.</p><div 
class="table-w
 rap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh"><p><code>consumerType</code></p></th><th colspan="1" 
rowspan="1" class="confluenceTh"><p>Spring JMS Listener 
Type</p></th></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>Default</code></p></td><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p><strong><code>org.springframework.jms.listener.DefaultMessageListenerContainer</code></strong></p></td></tr><tr><td
 colspan="1" rowspan="1" 
class="confluenceTd"><p><code>Simple</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><strong><code>org.springframework.jms.listener.SimpleMessageListenerContainer</code></strong></p></td></tr><tr><td
 colspan="1" rowspan="1" 
class="confluenceTd"><p><code>Custom</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>From <strong>Camel 2.10.2</strong>: The 
<strong><code>MessageListenerContainerFactory</code></strong> defined by the 
<strong><code>messageListenerCont
 ainerFactoryRef</code></strong> option which will determine what 
<strong><code>org.springframework.jms.listener.AbstractMessageListenerContainer 
</code></strong>to use.</p></td></tr></tbody></table></div><p>This option was 
temporarily removed in Camel 2.7 and 2.8 but was re-added in Camel 
2.9.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>defaultTaskExecutorType</code></p></td><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>SimpleAsync</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><strong>Camel 2.10.4:</strong> Specifies 
what default&#160;<strong><code>TaskExecutor</code></strong> type to use in the 
<strong><code>DefaultMessageListenerContainer</code></strong>, for both 
consumer endpoints and the&#160;<strong><code>ReplyTo</code></strong> consumer 
of producer endpoints. Possible values: 
<strong><code>SimpleAsync</code></strong> (uses Spring's <a shape="rect" 
class="external-link" href="http://static.springsource.org/spring/
 
docs/current/javadoc-api/org/springframework/core/task/SimpleAsyncTaskExecutor.html"
 rel="nofollow">SimpleAsyncTaskExecutor</a>) or 
<strong><code>ThreadPool</code></strong> (uses Spring's <a shape="rect" 
class="external-link" 
href="http://static.springsource.org/spring/docs/current/javadoc-api/org/springframework/scheduling/concurrent/ThreadPoolTaskExecutor.html";
 rel="nofollow">ThreadPoolTaskExecutor</a> with optimal values - cached 
threadpool-like).</p><p>If not set, it defaults to the previous behavior, which 
uses a cached thread pool for consumer endpoints 
and&#160;<strong><code>SimpleAsync</code></strong> for reply 
consumers.</p><p>The use of <strong><code>ThreadPool</code></strong> is 
recommended to reduce "thread trash" in elastic configurations with dynamically 
increasing and decreasing concurrent consumers.</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>deliveryMode</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>null</cod
 e></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 
2.12.2/2.13:</strong> Specifies the delivery mode to be used. Possibles values 
are those defined by 
<strong><code>javax.jms.DeliveryMode</code></strong>.</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>deliveryPersistent</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>true</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Specifies whether persistent delivery is 
used by default.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>destination</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Specifies the JMS Destination object to use 
on this endpoint.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>destinationName</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>null</code>
 </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Specifies the JMS 
destination name to use on this endpoint.</p></td></tr><tr><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p><code>destinationResolver</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>A pluggable 
<strong><code>org.springframework.jms.support.destination.DestinationResolver</code></strong>
 that allows you to use your own resolver (for example, to lookup the real 
destination in a JNDI registry).</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>disableTimeToLive</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.8:</strong> Use this option 
to force disabling time to live. For example when you do request/reply over 
JMS, then Camel will by default use the <strong><code>requestTim
 eout</code></strong> value as time to live on the message being sent. The 
problem is that the sender and receiver systems have to have their clocks 
synchronized, so they are in sync. This is not always so easy to archive. So 
you can use <strong><code>disableTimeToLive=true</code></strong> to 
<strong>not</strong> set a time to live value on the sent message. Then the 
message will not expire on the receiver system.</p><p>See below in section 
<em>About time to live</em> for more details.</p></td></tr><tr><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p><code>eagerLoadingOfProperties</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Enables eager loading of JMS 
properties as soon as a message is received, which is generally inefficient, 
because the JMS properties might not be required. But this feature can 
sometimes catch early any issues with the underlying JMS provider and the use 
of JMS
  properties. This feature can also be used for testing purposes, to ensure JMS 
properties can be understood and handled correctly.</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>errorHandler</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><strong>Camel 2.8.2, 2.9:</strong> 
Specifies a <strong><code>org.springframework.util.ErrorHandler</code></strong> 
to be invoked in case of any uncaught exceptions thrown while processing a 
<strong><code>Message</code></strong>.</p><p>By default these exceptions will 
be logged at the&#160;<strong><code>WARN</code></strong> level, if no 
<strong><code>errorHandler</code></strong> has been configured.</p><p>From 
<strong>Camel 2.9.1</strong>: you can configure logging level and whether stack 
traces should be logged using the below two options. This makes it much easier 
to configure, than having to code a custom <strong><code>erro
 rHandler</code></strong>.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>errorHandlerLoggingLevel</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>WARN</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.9.1:</strong> 
Configures the logging level at which the 
<strong><code>errorHandler</code></strong> will log uncaught 
exceptions.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>errorHandlerLogStackTrace</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.9.1:</strong> 
Controls whether a stacktrace should be logged by the default 
<strong><code>errorHandler</code></strong>.</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>exceptionListener</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td 
colspan="
 1" rowspan="1" class="confluenceTd"><p>Specifies the JMS Exception Listener 
that is to be notified of any underlying JMS exceptions.</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>explicitQosEnabled</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Set if the 
<strong><code>deliveryMode</code>, <code>priority</code></strong> or 
<strong><code>timeToLive</code></strong> qualities of service should be used 
when sending messages. This option is based on Spring's 
<strong><code>JmsTemplate</code></strong>. The 
<strong><code>deliveryMode</code>, <code>priority</code></strong> and 
<strong><code>timeToLive</code></strong> options are applied to the current 
endpoint. This contrasts with the 
<strong><code>preserveMessageQos</code></strong> option, which operates at 
message granularity, reading QoS properties exclusively from the Camel In 
message headers.</p></td></tr><tr><
 td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>exposeListenerSession</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>true</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Specifies whether the listener 
session should be exposed when consuming messages.</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>forceSendOriginalMessage</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.7:</strong> 
When using <strong><code>mapJmsMessage=false</code></strong> Camel will create 
a new JMS message to send to a new JMS destination if you touch the headers 
(get or set) during the route. Set this option to 
<strong><code>true</code></strong> to force Camel to send the original JMS 
message that was received.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>idleConsumerLimit</code></p></td><t
 d colspan="1" rowspan="1" class="confluenceTd"><p><code>1</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.8.2</strong>, 
<strong>2.9</strong>: Specify the limit for the number of consumers that are 
allowed to be idle at any given time.</p></td></tr><tr><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p><code>idleTaskExecutionLimit</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>1</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Specifies the limit for idle 
executions of a receive task, not having received any message within its 
execution. If this limit is reached, the task will shut down and leave 
receiving to other executing tasks (in the case of dynamic scheduling; see the 
<strong><code>maxConcurrentConsumers</code></strong> setting). There is 
additional doc available from <a shape="rect" class="external-link" 
href="https://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/jms/listener/D
 efaultMessageListenerContainer.html#setIdleTaskExecutionLimit-int-" 
rel="nofollow">Spring</a>.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>includeSentJMSMessageID</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.10.3:</strong> 
Only applicable when sending to JMS destination 
using&#160;<strong><code>InOnly</code></strong>, e.g., fire and forget. 
Enabling this option will enrich the Camel <a shape="rect" 
href="exchange.html">Exchange</a> with the 
actual&#160;<strong><code>JMSMessageID</code></strong> that was used by the JMS 
client when the message was sent to the JMS destination.</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>includeAllJMSXProperties</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.11.2/
 2.12:</strong> Whether to include 
all&#160;<strong><code>JMSXxxx</code></strong> properties when mapping from JMS 
to Camel Message. When set to <code>true</code> properties such as 
<strong><code>JMSXAppID</code></strong>, and 
<strong><code>JMSXUserID</code></strong> etc will be 
included.</p><p><strong>Note:</strong> If you are using a custom 
<strong><code>headerFilterStrategy</code></strong> then this option does not 
apply.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>jmsKeyFormatStrategy</code></p></td><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>default</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Pluggable strategy for encoding and 
decoding JMS keys so they can be compliant with the JMS specification.</p><div 
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" 
rowspan="1" class="confluenceTh"><p>Strategy</p></th><th colspan="1" 
rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr
 ><td colspan="1" rowspan="1" 
 >class="confluenceTd"><p><code>default</code></p></td><td colspan="1" 
 >rowspan="1" class="confluenceTd"><p>Safely marshals dots and hyphens, 
 ><code>'<strong>.</strong>'</code> 
 >and&#160;<code>'<strong>-</strong>'</code>.</p></td></tr><tr><td colspan="1" 
 >rowspan="1" class="confluenceTd"><p><code>passthrough</code></p></td><td 
 >colspan="1" rowspan="1" class="confluenceTd"><p>Leaves the key as is. 
 >Appropriate for use with any JMS broker that tolerates JMS header keys 
 >containing illegal 
 >characters.</p></td></tr></tbody></table></div><p><strong>Note</strong>: 
 >optionally, a custom implementation can be provided of a 
 ><strong><code>org.apache.camel.component.jms.JmsKeyFormatStrategy</code></strong>
 > and referred to using the <strong><code>#</code></strong> 
 >notation.</p></td></tr><tr><td colspan="1" rowspan="1" 
 >class="confluenceTd"><p><code>jmsMessageType</code></p></td><td colspan="1" 
 >rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" 
 >rowspa
 n="1" class="confluenceTd"><p>Allows you to force the use of a 
specific&#160;<strong><code>javax.jms.Message</code></strong> implementation 
for sending JMS messages. Possible values 
are:</p><ul><li><strong><code>Bytes</code></strong></li><li><strong><code>Map</code></strong></li><li><strong><code>Object</code></strong></li><li><strong><code>Stream</code></strong></li><li><strong><code>Text</code></strong></li></ul><p>By
 default Camel determines which JMS message type to use for 
the&#160;<strong><code>In</code></strong> body type. This option will override 
the default behavior.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>jmsOperations</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Allows you to use your own implementation 
of the <strong><code>org.springframework.jms.core.JmsOperations</code></strong> 
interface. Camel uses <strong><code>JmsTemplate</code></s
 trong> by default. Can be used for testing purpose, but not used much as 
stated in the spring API docs.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>lazyCreateTransactionManager</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>true</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>If 
<strong><code>true</code></strong>, Camel will create a 
<strong><code>JmsTransactionManager</code></strong>, if there is no 
<strong><code>transactionManager</code></strong> injected when option 
<strong><code>transacted=true</code></strong>.</p></td></tr><tr><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p><code>listenerConnectionFactory</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>The JMS connection factory used 
for consuming messages.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>mapJmsMessage</code></p
 ></td><td colspan="1" rowspan="1" 
 >class="confluenceTd"><p><code>true</code></p></td><td colspan="1" rowspan="1" 
 >class="confluenceTd"><p>Specifies whether Camel should auto map the received 
 >JMS message to an appropriate payload type, such as 
 ><strong><code>javax.jms.TextMessage</code></strong> to 
 >a&#160;<strong><code>java.lang.</code><code>String</code></strong> etc. See 
 >below for more details on how message type mapping 
 >works.</p></td></tr><tr><td colspan="1" rowspan="1" 
 >class="confluenceTd"><p><code>maximumBrowseSize</code></p></td><td 
 >colspan="1" rowspan="1" class="confluenceTd"><p><code>-1</code></p></td><td 
 >colspan="1" rowspan="1" class="confluenceTd"><p>Limits the number of messages 
 >fetched at most, when browsing endpoints using <a shape="rect" 
 >href="browse.html">Browse</a> or JMX API.</p></td></tr><tr><td colspan="1" 
 >rowspan="1" class="confluenceTd"><p><code>messageConverter</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 use a custom Spring 
<strong><code>org.springframework.jms.support.converter.MessageConverter</code></strong>
 so you can be 100% in control how to map to/from a 
<strong><code>javax.jms.Message</code></strong>.</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>messageIdEnabled</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>true</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>When sending, specifies whether message IDs 
should be added.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>messageListenerContainerFactoryRef</code></p></td><td
 colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.10.2:</strong> 
Registry ID of the 
<strong><code>MessageListenerContainerFactory</code></strong> used to determine 
what <strong><code>org.springframework.jms.listener.AbstractM
 essageListenerContainer</code></strong> to use to consume 
messages.</p><p>Setting this will automatically set 
<strong><code>consumerType</code></strong> to 
<strong><code>Custom</code></strong>.</p></td></tr><tr><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p><code>messageTimestampEnabled</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>true</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Specifies whether time-stamps 
should be enabled by default on sending messages.</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>password</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>The password for the connector 
factory.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>priority</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>4</code></p></td><td colspan="1" 
rowspan="1" class="c
 onfluenceTd"><p>Values greater than&#160;<strong><code>1</code></strong> 
specify the message priority when sending 
(where&#160;<strong><code>0</code></strong> is the lowest priority 
and&#160;<strong><code>9</code></strong> is the highest). The 
<strong><code>explicitQosEnabled</code></strong> option <em>must</em> also be 
enabled in order for this option to have any effect.</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>pubSubNoLocal</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Specifies whether to inhibit the delivery 
of messages published by its own connection.</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>receiveTimeout</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>1000</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>The timeout for receiving 
messages (in milliseconds).</p></td></t
 r><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>recoveryInterval</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>5000</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Specifies the interval between recovery 
attempts, e.g., when a connection is being refreshed, in milliseconds. The 
default is <code><strong>5000</strong> ms</code>.</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>replyToSameDestinationAllowed</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.16:</strong> 
<strong>Consumer only:</strong> Whether a JMS consumer is allowed to send a 
reply message to the same destination that the consumer is using to consume 
from. This prevents an endless loop by consuming and sending back the same 
message to itself.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>reply
 ToCacheLevelName</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CACHE_CONSUMER</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><strong>Camel 2.9.1:</strong> Sets the 
cache level by name for the reply consumer when doing request/reply over JMS. 
This option only applies when using fixed reply queues (not temporary). Camel 
will by default use: <strong><code>CACHE_CONSUMER</code></strong> for exclusive 
or shared w/<strong><code>replyToSelectorName</code></strong> and 
<strong><code>CACHE_SESSION</code></strong> for shared without 
<strong><code>replyToSelectorName</code></strong>. Some JMS brokers such as IBM 
WebSphere may require this parameter to be set to 
<strong><code>CACHE_NONE</code></strong> in order to 
work.</p><p><strong>Note:</strong> The value 
<strong><code>CACHE_NONE</code></strong> cannot be used with temporary queues. 
A higher value, such as <strong><code>CACHE_CONSUMER</code></strong> or 
<strong><code>CACHE_SESSION</code></strong
 >, must be used.</p></td></tr><tr><td colspan="1" rowspan="1" 
 >class="confluenceTd"><p><code>replyToDestinationSelectorName</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 JMS Selector using the fixed name to be used 
 >so you can filter out your own replies from the others when using a shared 
 >queue (that is, if you are not using a temporary reply 
 >queue).</p></td></tr><tr><td colspan="1" rowspan="1" 
 >class="confluenceTd"><p><code>replyToDeliveryPersistent</code></p></td><td 
 >colspan="1" rowspan="1" class="confluenceTd"><p><code>true</code></p></td><td 
 >colspan="1" rowspan="1" class="confluenceTd"><p>Specifies whether to use 
 >persistent delivery by default for replies.</p></td></tr><tr><td colspan="1" 
 >rowspan="1" 
 >class="confluenceTd"><p><code>requestTimeoutCheckerInterval</code></p></td><td
 > colspan="1" rowspan="1" 
 >class="confluenceTd"><p><code>1000</code></p></td><td colspan="1" rowspan=
 "1" class="confluenceTd"><p><strong>Camel 2.9.2:</strong> Configures how often 
Camel should check for timed out <a shape="rect" 
href="exchange.html">Exchange</a>s when doing request/reply over JMS. By 
default Camel checks once per second. But if you must react faster when a 
timeout occurs, then you can lower this interval, to check more frequently. The 
timeout is determined by the option 
<strong><code>requestTimeout</code></strong>.</p></td></tr><tr><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p><code>subscriptionDurable</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>@deprecated:</strong> 
Enabled by default, if you specify a 
<strong><code>durableSubscriptionName</code></strong> and a 
<strong><code>clientId</code></strong>.</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>taskExecutor</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd">
 <p><code>null</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>Allows you to specify a custom task executor for 
consuming messages.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>taskExecutorSpring2</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.6:</strong> To 
use when using Spring 2.x with Camel. Allows you to specify a custom task 
executor for consuming messages.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>templateConnectionFactory</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>The JMS connection factory used 
for sending messages.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>transactedInOut</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>@deprecated:</strong> Specifies whether to use 
transacted mode for sending messages using 
the&#160;<strong><code>InOut</code></strong> <a shape="rect" 
href="exchange-pattern.html">Exchange Pattern</a>. Applies only to producer 
endpoints. See section <a shape="rect" 
href="#BookComponentAppendix-transactedConsumption">Enabling Transacted 
Consumption</a> for more details.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>transactionManager</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>The Spring transaction manager to 
use.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>transactionName</code></p></td><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p><code>"JmsConsumer[destinationName]"</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>The name 
 of the transaction to use.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>transactionTimeout</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>The timeout value of the transaction (in 
seconds), if using transacted mode.</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>transferException</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 enabled and you are using <a 
shape="rect" href="request-reply.html">Request Reply</a> messaging 
(<strong><code>InOut</code></strong>) and an <a shape="rect" 
href="exchange.html">Exchange</a> failed on the consumer side, then the caused 
<strong><code>Exception</code></strong> will be send back in response as a 
<strong><code>javax.jms.ObjectMessage</code></strong>. If the client is Camel, 
the returned <strong><
 code>Exception</code></strong> is re-thrown. This allows you to use Camel <a 
shape="rect" href="jms.html">JMS</a> as a bridge in your routing - for example, 
using persistent queues to enable robust routing. Notice that if you also have 
<strong><code>transferExchange</code></strong> enabled, this option takes 
precedence. The caught exception is required to be serializable. The original 
<strong><code>Exception</code></strong> on the consumer side can be wrapped in 
an outer exception such as 
<strong><code>org.apache.camel.RuntimeCamelException</code></strong> when 
returned to the producer.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>transferExchange</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>You can transfer the exchange over the wire 
instead of just the body and headers. The following fields are transferred: In 
body, Out body, Fault body, In headers, Ou
 t headers, Fault headers, exchange properties, exchange exception. This 
requires that the objects are serializable. Camel will exclude any 
non-serializable objects and log it at&#160;<strong><code>WARN</code></strong> 
level.</p><p>You <em>must</em> enable this option on <em>both</em> the producer 
<em>and</em> the consumer side, so Camel will know that the payload is an 
Exchange and not a regular payload.</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>transferFault</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.17:</strong> If 
enabled and you are using Request Reply messaging 
(<strong><code>InOut</code></strong>) and an Exchange failed with a SOAP fault 
(not exception) on the consumer side, then the fault flag 
on&#160;<strong><code>org.apache.camel.Message.isFault()</code></strong> will 
be send back in the response as a JMS header with the key
  <strong><code>JmsConstants.JMS_TRANSFER_FAULT</code></strong>. If the client 
is Camel, the returned fault flag will be set on the 
<strong><code>org.apache.camel.Message.setFault(boolean)</code></strong>.</p><p>You
 may want to enable this when using Camel components that support faults such 
as SOAP based such as CXF or spring-ws.</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>username</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>The username for the connector 
factory.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>useMessageIDAsCorrelationID</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Specifies whether 
<strong><code>JMSMessageID</code></strong> should always be used as 
<strong><code>JMSCorrelationID</code></strong> for&#160;<stro
 ng><code>InOut</code></strong> messages.</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>useVersion102</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>@deprecated (removed 
from Camel 2.5 onward)</strong> Specifies whether the old JMS API should be 
used.</p></td></tr></tbody></table></div></rich-text-body><h3 
id="BookComponentAppendix-MessageMappingBetweenJMSandCamel">Message Mapping 
Between JMS and Camel</h3><p>Camel automatically maps messages between 
<strong><code>javax.jms.Message</code></strong> and 
<strong><code>org.apache.camel.Message</code></strong>. When sending a JMS 
message, Camel converts the message body to the following JMS message 
types:</p><parameter 
ac:name="class">confluenceTableSmall</parameter><rich-text-body><div 
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" 
rowspan="1" class="confluenceTh"><p>Body Ty
 pe</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>JMS 
Message</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Comment</p></th></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>byte[]</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>javax.jms.BytesMessage</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>java.io.File</code></p></td><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p><code>javax.jms.BytesMessage</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>java.io.InputStream</code></p></td><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>javax.jms.BytesMessage</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>java
 .io.Reader</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>javax.jms.BytesMessage</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>java.io.Serializable</code></p></td><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>javax.jms.ObjectMessage</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>java.nio.ByteBuffer</code></p></td><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>javax.jms.BytesMessage</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>Map</code></p></td><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>javax.jms.MapMessage</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td 
colspan="1" rows
 pan="1" class="confluenceTd"><p><code>org.w3c.dom.Node</code></p></td><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>javax.jms.TextMessage</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>The DOM will be converted to 
<strong><code>String</code></strong>.</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p><code>javax.jms.TextMessage</code></p></td><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p>&#160;</p></td></tr></tbody></table></div></rich-text-body><p>When
 receiving a JMS message, Camel converts the JMS message to the following body 
type:</p><parameter 
ac:name="class">confluenceTableSmall</parameter><rich-text-body><div 
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" 
rowspan="1" class="confluenceTh"><p>JMS Message</p></th><th colspan="1" 
rowspan="1" class="confluenceTh"><p>Body Type</p></th></tr><tr><td colspan="1" 
rowspan
 ="1" class="confluenceTd"><p><code>javax.jms.BytesMessage</code></p></td><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>byte[]</code></p></td></tr><tr><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p><code>javax.jms.MapMessage</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>Map&lt;String, 
Object&gt;</code></p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>javax.jms.ObjectMessage</code></p></td><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>Object</code></p></td></tr><tr><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p><code>javax.jms.TextMessage</code></p></td><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>String</code></p></td></tr></tbody></table></div></rich-text-body><h4
 id="BookComponentAppendix-DisablingAuto-MappingofJMSMessages">Disabling 
Auto-Mapping of JMS Messages</h4><p>You can use the 
<strong><code>mapJmsMessage</code></strong> option to disable the auto-mapping 
above. If disabled, C
 amel will not try to map the received JMS message, but instead uses it 
directly as the payload. This allows you to avoid the overhead of mapping and 
let Camel just pass through the JMS message. For instance, it even allows you 
to route <strong><code>javax.jms.ObjectMessage</code></strong> JMS messages 
with classes you do <strong>not</strong> have on the classpath.</p><h4 
id="BookComponentAppendix-UsingacustomMessageConverter">Using a custom 
MessageConverter</h4><p>You can use the 
<strong><code>messageConverter</code></strong> option to do the mapping 
yourself in a Spring 
<strong><code>org.springframework.jms.support.converter.MessageConverter</code></strong>
 class.</p><p>For example, in the route below we use a custom message converter 
when sending a message to the JMS order queue:</p><parameter 
ac:name="language">java</parameter><plain-text-body>from("file://inbox/order")

[... 31 lines stripped ...]
Modified: websites/production/camel/content/book-dataformat-appendix.html
==============================================================================
--- websites/production/camel/content/book-dataformat-appendix.html (original)
+++ websites/production/camel/content/book-dataformat-appendix.html Tue Apr 23 
17:20:32 2019
@@ -743,7 +743,7 @@ getContext().getProperties().put("CamelJ
 <div class="confluence-information-macro confluence-information-macro-tip 
conf-macro output-block" data-hasbody="true" data-macro-name="tip"><p 
class="title">Camel eats our own -dog food- soap</p><span class="aui-icon 
aui-icon-small aui-iconfont-approve confluence-information-macro-icon"> 
</span><div class="confluence-information-macro-body">
 <p>We had some issues in our pdf <a shape="rect" href="manual.html">Manual</a> 
where we had some strange symbols. So <a shape="rect" class="external-link" 
href="http://janstey.blogspot.com/"; rel="nofollow">Jonathan</a> used this data 
format to tidy up the wiki html pages that are used as base for rendering the 
pdf manuals. And then the mysterious symbols vanished.</p></div></div> 
 
-<p><a shape="rect" href="tidymarkup.html">TidyMarkup</a> only supports the 
<strong>unmarshal</strong> operation as we really don't want to turn well 
formed HTML into ugly HTML <img class="emoticon emoticon-smile" 
src="https://cwiki.apache.org/confluence/s/en_GB/7901/17fbf59dc6f69bee0caf86e0cbbd7fb3bd9d8b4a/_/images/icons/emoticons/smile.svg";
 data-emoticon-name="smile" alt="(smile)"></p>
+<p><a shape="rect" href="tidymarkup.html">TidyMarkup</a> only supports the 
<strong>unmarshal</strong> operation as we really don't want to turn well 
formed HTML into ugly HTML <img class="emoticon emoticon-smile" 
src="https://cwiki.apache.org/confluence/s/en_GB/8100/4410012ac87e845516b70bc69b6f7a893eabaa5a/_/images/icons/emoticons/smile.svg";
 data-emoticon-name="smile" alt="(smile)"></p>
 
 <h3 id="BookDataFormatAppendix-JavaDSLExample">Java DSL Example</h3>
 <p>An example where the consumer provides some HTML</p>
@@ -2292,15 +2292,7 @@ from("direct:start")
           <div class="navigation">
             <div class="navigation_top">
                 <!-- NavigationBar -->
-<div class="navigation_bottom" id="navigation_bottom"><h3 
id="Navigation-Overview"><a shape="rect" 
href="overview.html">Overview</a></h3><ul class="alternate"><li><a shape="rect" 
href="index.html">Home</a></li><li><a shape="rect" 
href="download.html">Download</a></li><li><a shape="rect" 
href="getting-started.html">Getting Started</a></li><li><a shape="rect" 
href="faq.html">FAQ</a></li></ul><h3 id="Navigation-Documentation"><a 
shape="rect" href="documentation.html">Documentation</a></h3><ul 
class="alternate"><li><a shape="rect" href="user-guide.html">User 
Guide</a></li><li><a shape="rect" href="manual.html">Manual</a></li><li><a 
shape="rect" href="books.html">Books</a></li><li><a shape="rect" 
href="tutorials.html">Tutorials</a></li><li><a shape="rect" 
href="examples.html">Examples</a></li><li><a shape="rect" 
href="cookbook.html">Cookbook</a></li><li><a shape="rect" 
href="architecture.html">Architecture</a></li><li><a shape="rect" 
href="enterprise-integration-patterns.html">Enterprise
  Integration Patterns</a></li><li><a shape="rect" 
href="dsl.html">DSL</a></li><li><a shape="rect" 
href="components.html">Components</a></li><li><a shape="rect" 
href="data-format.html">Data Format</a></li><li><a shape="rect" 
href="languages.html">Languages</a></li><li><a shape="rect" 
href="security.html">Security</a></li><li><a shape="rect" 
href="security-advisories.html">Security Advisories</a></li></ul><h3 
id="Navigation-Search">Search</h3><form 
enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" 
action="http://www.google.com/cse";>
-  <div>
-    <input type="hidden" name="cx" value="007878419884033443453:m5nhvy4hmyq">
-    <input type="hidden" name="ie" value="UTF-8">
-    <input type="text" name="q" size="21">
-    <input type="submit" name="sa" value="Search">
-  </div>
-</form>
-<script type="text/javascript" 
src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en";></script><h3
 id="Navigation-Community"><a shape="rect" 
href="community.html">Community</a></h3><ul class="alternate"><li><a 
shape="rect" href="support.html">Support</a></li><li><a shape="rect" 
href="contributing.html">Contributing</a></li><li><a shape="rect" 
href="mailing-lists.html">Mailing Lists</a></li><li><a shape="rect" 
href="irc-room.html">Gitter / IRC Chat</a></li><li><a shape="rect" 
href="user-stories.html">User Stories</a></li><li><a shape="rect" 
href="news.html">News</a></li><li><a shape="rect" 
href="articles.html">Articles</a></li><li><a shape="rect" 
href="site.html">Site</a></li><li><a shape="rect" 
href="team.html">Team</a></li><li><a shape="rect" class="external-link" 
href="http://camel-extra.googlecode.com/"; rel="nofollow">Camel 
Extra</a></li></ul><h3 id="Navigation-Developers"><a shape="rect" 
href="developers.html">Developers</a></h3><ul class="alternate"><li><a s
 hape="rect" href="developers.html">Developer Guide</a></li><li><a shape="rect" 
href="source.html">Source</a></li><li><a shape="rect" class="external-link" 
href="https://github.com/apache/camel/"; rel="nofollow">Github</a></li><li><a 
shape="rect" href="building.html">Building</a></li><li><a shape="rect" 
href="javadoc.html">JavaDoc</a></li></ul><h3 
id="Navigation-ApacheSoftwareFoundation">Apache Software Foundation</h3><ul 
class="alternate"><li><a shape="rect" class="external-link" 
href="http://www.apache.org/licenses/";>License</a></li><li><a shape="rect" 
class="external-link" 
href="http://www.apache.org/foundation/sponsorship.html";>Sponsorship</a></li><li><a
 shape="rect" class="external-link" 
href="http://www.apache.org/foundation/thanks.html";>Thanks</a></li><li><a 
shape="rect" class="external-link" 
href="http://www.apache.org/security/";>Security</a></li></ul><p>&#160;</p><p><a 
shape="rect" class="external-link" 
href="http://www.apache.org/events/current-event.html";><span class="confl
 uence-embedded-file-wrapper"><img class="confluence-embedded-image 
confluence-external-resource" 
src="http://www.apache.org/events/current-event-125x125.png"; 
data-image-src="http://www.apache.org/events/current-event-125x125.png";></span></a></p></div>
+<div class="navigation_bottom" id="navigation_bottom"><h3 
id="Navigation-Overview"><a shape="rect" 
href="overview.html">Overview</a></h3><ul class="alternate"><li><a shape="rect" 
href="index.html">Home</a></li><li><a shape="rect" 
href="download.html">Download</a></li><li><a shape="rect" 
href="getting-started.html">Getting Started</a></li><li><a shape="rect" 
href="faq.html">FAQ</a></li></ul><h3 id="Navigation-Documentation"><a 
shape="rect" href="documentation.html">Documentation</a></h3><ul 
class="alternate"><li><a shape="rect" href="user-guide.html">User 
Guide</a></li><li><a shape="rect" href="manual.html">Manual</a></li><li><a 
shape="rect" href="books.html">Books</a></li><li><a shape="rect" 
href="tutorials.html">Tutorials</a></li><li><a shape="rect" 
href="examples.html">Examples</a></li><li><a shape="rect" 
href="cookbook.html">Cookbook</a></li><li><a shape="rect" 
href="architecture.html">Architecture</a></li><li><a shape="rect" 
href="enterprise-integration-patterns.html">Enterprise
  Integration Patterns</a></li><li><a shape="rect" 
href="dsl.html">DSL</a></li><li><a shape="rect" 
href="components.html">Components</a></li><li><a shape="rect" 
href="data-format.html">Data Format</a></li><li><a shape="rect" 
href="languages.html">Languages</a></li><li><a shape="rect" 
href="security.html">Security</a></li><li><a shape="rect" 
href="security-advisories.html">Security Advisories</a></li></ul><h3 
id="Navigation-Search">Search</h3><div class="aui-message aui-message-error"><p 
class="title"><strong>Error rendering macro 'html'</strong></p><p>Your 
Confluence administrator has disallowed the use of Javascript in the HTML 
macro.  This setting can be changed using  HTML for Confluence Configuration.  
Please see your administrator for details.</p></div><h3 
id="Navigation-Community"><a shape="rect" 
href="community.html">Community</a></h3><ul class="alternate"><li><a 
shape="rect" href="support.html">Support</a></li><li><a shape="rect" 
href="contributing.html">Contributing</a></li>
 <li><a shape="rect" href="mailing-lists.html">Mailing Lists</a></li><li><a 
shape="rect" href="irc-room.html">Gitter / IRC Chat</a></li><li><a shape="rect" 
href="user-stories.html">User Stories</a></li><li><a shape="rect" 
href="news.html">News</a></li><li><a shape="rect" 
href="articles.html">Articles</a></li><li><a shape="rect" 
href="site.html">Site</a></li><li><a shape="rect" 
href="team.html">Team</a></li><li><a shape="rect" class="external-link" 
href="http://camel-extra.googlecode.com/"; rel="nofollow">Camel 
Extra</a></li></ul><h3 id="Navigation-Developers"><a shape="rect" 
href="developers.html">Developers</a></h3><ul class="alternate"><li><a 
shape="rect" href="developers.html">Developer Guide</a></li><li><a shape="rect" 
href="source.html">Source</a></li><li><a shape="rect" class="external-link" 
href="https://github.com/apache/camel/"; rel="nofollow">Github</a></li><li><a 
shape="rect" href="building.html">Building</a></li><li><a shape="rect" 
href="javadoc.html">JavaDoc</a></li></ul><
 h3 id="Navigation-ApacheSoftwareFoundation">Apache Software Foundation</h3><ul 
class="alternate"><li><a shape="rect" class="external-link" 
href="http://www.apache.org/licenses/";>License</a></li><li><a shape="rect" 
class="external-link" 
href="http://www.apache.org/foundation/sponsorship.html";>Sponsorship</a></li><li><a
 shape="rect" class="external-link" 
href="http://www.apache.org/foundation/thanks.html";>Thanks</a></li><li><a 
shape="rect" class="external-link" 
href="http://www.apache.org/security/";>Security</a></li></ul><p>&#160;</p><p><a 
shape="rect" class="external-link" 
href="http://www.apache.org/events/current-event.html";><span 
class="confluence-embedded-file-wrapper"><img class="confluence-embedded-image 
confluence-external-resource" 
src="http://www.apache.org/events/current-event-125x125.png"; 
data-image-src="http://www.apache.org/events/current-event-125x125.png";></span></a></p></div>
                 <!-- NavigationBar -->
             </div>
           </div>


Reply via email to