You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by bu...@apache.org on 2015/11/19 15:19:46 UTC

svn commit: r972961 - in /websites/production/camel/content: book-component-appendix.html book-in-one-page.html cache/main.pageCache jms.html

Author: buildbot
Date: Thu Nov 19 14:19:46 2015
New Revision: 972961

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/book-component-appendix.html
    websites/production/camel/content/book-in-one-page.html
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/jms.html

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 Thu Nov 19 14:19:46 2015
@@ -1075,11 +1075,11 @@ template.send("direct:alias-verify&
 ]]></script>
 </div></div><p></p><h3 id="BookComponentAppendix-SeeAlso.8">See Also</h3>
 <ul><li><a shape="rect" href="configuring-camel.html">Configuring Camel</a></li><li><a shape="rect" href="component.html">Component</a></li><li><a shape="rect" href="endpoint.html">Endpoint</a></li><li><a shape="rect" href="getting-started.html">Getting Started</a></li></ul><ul><li><a shape="rect" href="crypto.html">Crypto</a> Crypto is also available as a <a shape="rect" href="data-format.html">Data Format</a></li></ul> <h2 id="BookComponentAppendix-CXFComponent">CXF Component</h2><div class="confluence-information-macro confluence-information-macro-note"><span class="aui-icon aui-icon-small aui-iconfont-warning confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>When using CXF as a consumer, the <a shape="rect" href="cxf-bean-component.html">CXF Bean Component</a> allows you to factor out how message payloads are received from their processing as a RESTful or SOAP web service. This has the potential of using a multitude of transports to cons
 ume web services. The bean component's configuration is also simpler and provides the fastest method to implement web services using Camel and CXF.</p></div></div><div class="confluence-information-macro confluence-information-macro-tip"><span class="aui-icon aui-icon-small aui-iconfont-approve confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>When using CXF in streaming modes (see DataFormat option), then also read about <a shape="rect" href="stream-caching.html">Stream caching</a>.</p></div></div><p>The <strong>cxf:</strong> component provides integration with <a shape="rect" href="http://cxf.apache.org">Apache CXF</a> for connecting to JAX-WS services hosted in CXF.</p><p><style type="text/css">/*<![CDATA[*/
-div.rbtoc1447935506245 {padding: 0px;}
-div.rbtoc1447935506245 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1447935506245 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1447942667157 {padding: 0px;}
+div.rbtoc1447942667157 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1447942667157 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style></p><div class="toc-macro rbtoc1447935506245">
+/*]]>*/</style></p><div class="toc-macro rbtoc1447942667157">
 <ul class="toc-indentation"><li><a shape="rect" href="#BookComponentAppendix-CXFComponent">CXF Component</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#BookComponentAppendix-URIformat">URI format</a></li><li><a shape="rect" href="#BookComponentAppendix-Options">Options</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#BookComponentAppendix-Thedescriptionsofthedataformats">The descriptions of the dataformats</a>
@@ -5532,7 +5532,7 @@ rnc:someLocalOrRemoteResource]]></script
 &lt;/camelContext&gt;
 ]]></script>
 </div></div><p></p><h3 id="BookComponentAppendix-SeeAlso.31">See Also</h3>
-<ul><li><a shape="rect" href="configuring-camel.html">Configuring Camel</a></li><li><a shape="rect" href="component.html">Component</a></li><li><a shape="rect" href="endpoint.html">Endpoint</a></li><li><a shape="rect" href="getting-started.html">Getting Started</a></li></ul> <h2 id="BookComponentAppendix-JMSComponent">JMS Component</h2><div class="confluence-information-macro confluence-information-macro-information"><p class="title">Using ActiveMQ</p><span class="aui-icon aui-icon-small aui-iconfont-info confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>If you are using <a shape="rect" class="external-link" href="http://activemq.apache.org/">Apache ActiveMQ</a>, you should prefer the <a shape="rect" href="activemq.html">ActiveMQ</a> component as it has been optimized for <a shape="rect" href="activemq.html">ActiveMQ</a>. All of the options and samples on this page are also valid for the <a shape="rect" href="activemq.html">ActiveMQ</a> comp
 onent.</p></div></div><div class="confluence-information-macro confluence-information-macro-tip"><p class="title">Transacted and caching</p><span class="aui-icon aui-icon-small aui-iconfont-approve confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>See section <em>Transactions and Cache Levels</em> below if you are using transactions with <a shape="rect" href="jms.html">JMS</a> as it can impact performance.</p></div></div><div class="confluence-information-macro confluence-information-macro-tip"><p class="title">Request/Reply over JMS</p><span class="aui-icon aui-icon-small aui-iconfont-approve confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>Make sure to read the section <em>Request-reply over JMS</em> further below on this page for important notes about request/reply, as Camel offers a number of options to configure for performance, and clustered environments.</p></div></div><p>The JMS component al
 lows messages to be sent to (or consumed from) a <a shape="rect" class="external-link" href="http://java.sun.com/products/jms/" rel="nofollow">JMS</a> Queue or Topic. The implementation of the JMS Component uses Spring's JMS support for declarative transactions, using Spring's <code>JmsTemplate</code> for sending and a <code>MessageListenerContainer</code> for consuming.</p><p>Maven users will need to add the following dependency to their <code>pom.xml</code> for this component:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<ul><li><a shape="rect" href="configuring-camel.html">Configuring Camel</a></li><li><a shape="rect" href="component.html">Component</a></li><li><a shape="rect" href="endpoint.html">Endpoint</a></li><li><a shape="rect" href="getting-started.html">Getting Started</a></li></ul> <h2 id="BookComponentAppendix-JMSComponent">JMS Component</h2><div class="confluence-information-macro confluence-information-macro-information"><p class="title">Using ActiveMQ</p><span class="aui-icon aui-icon-small aui-iconfont-info confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>If you are using <a shape="rect" class="external-link" href="http://activemq.apache.org/">Apache ActiveMQ</a>, you should prefer the <a shape="rect" href="activemq.html">ActiveMQ</a> component as it has been optimized for <a shape="rect" href="activemq.html">ActiveMQ</a>. All of the options and samples on this page are also valid for the <a shape="rect" href="activemq.html">ActiveMQ</a> comp
 onent.</p></div></div><div class="confluence-information-macro confluence-information-macro-tip"><p class="title">Transacted and caching</p><span class="aui-icon aui-icon-small aui-iconfont-approve confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>See section <em>Transactions and Cache Levels</em> below if you are using transactions with <a shape="rect" href="jms.html">JMS</a> as it can impact performance.</p></div></div><div class="confluence-information-macro confluence-information-macro-tip"><p class="title">Request/Reply over JMS</p><span class="aui-icon aui-icon-small aui-iconfont-approve confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>Make sure to read the section <em>Request-reply over JMS</em> further below on this page for important notes about request/reply, as Camel offers a number of options to configure for performance, and clustered environments.</p></div></div><p>This&#160;component 
 allows messages to be sent to (or consumed from) a <a shape="rect" class="external-link" href="http://java.sun.com/products/jms/" rel="nofollow">JMS</a> Queue or Topic. It uses Spring's JMS support for declarative transactions, including Spring's <code>JmsTemplate</code> for sending and a <code>MessageListenerContainer</code> for consuming.</p><p>Maven users will need to add the following dependency to their <code>pom.xml</code> for this component:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[&lt;dependency&gt;
     &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
     &lt;artifactId&gt;camel-jms&lt;/artifactId&gt;

Modified: websites/production/camel/content/book-in-one-page.html
==============================================================================
--- websites/production/camel/content/book-in-one-page.html (original)
+++ websites/production/camel/content/book-in-one-page.html Thu Nov 19 14:19:46 2015
@@ -3700,11 +3700,11 @@ The tutorial has been designed in two pa
 While not actual tutorials you might find working through the source of the various <a shape="rect" href="examples.html">Examples</a> useful.</li></ul>
 
 <h2 id="BookInOnePage-TutorialonSpringRemotingwithJMS">Tutorial on Spring Remoting with JMS</h2><p>&#160;</p><div class="confluence-information-macro confluence-information-macro-information"><p class="title">Thanks</p><span class="aui-icon aui-icon-small aui-iconfont-info confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>This tutorial was kindly donated to Apache Camel by Martin Gilday.</p></div></div><h2 id="BookInOnePage-Preface">Preface</h2><p>This tutorial aims to guide the reader through the stages of creating a project which uses Camel to facilitate the routing of messages from a JMS queue to a <a shape="rect" class="external-link" href="http://www.springramework.org" rel="nofollow">Spring</a> service. The route works in a synchronous fashion returning a response to the client.</p><p><style type="text/css">/*<![CDATA[*/
-div.rbtoc1447935602146 {padding: 0px;}
-div.rbtoc1447935602146 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1447935602146 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1447942693883 {padding: 0px;}
+div.rbtoc1447942693883 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1447942693883 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style></p><div class="toc-macro rbtoc1447935602146">
+/*]]>*/</style></p><div class="toc-macro rbtoc1447942693883">
 <ul class="toc-indentation"><li><a shape="rect" href="#BookInOnePage-TutorialonSpringRemotingwithJMS">Tutorial on Spring Remoting with JMS</a></li><li><a shape="rect" href="#BookInOnePage-Preface">Preface</a></li><li><a shape="rect" href="#BookInOnePage-Prerequisites">Prerequisites</a></li><li><a shape="rect" href="#BookInOnePage-Distribution">Distribution</a></li><li><a shape="rect" href="#BookInOnePage-About">About</a></li><li><a shape="rect" href="#BookInOnePage-CreatetheCamelProject">Create the Camel Project</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#BookInOnePage-UpdatethePOMwithDependencies">Update the POM with Dependencies</a></li></ul>
 </li><li><a shape="rect" href="#BookInOnePage-WritingtheServer">Writing the Server</a>
@@ -5809,11 +5809,11 @@ So we completed the last piece in the pi
 <p>This example has been removed from <strong>Camel 2.9</strong> onwards. Apache Axis 1.4 is a very old and unsupported framework. We encourage users to use <a shape="rect" href="cxf.html">CXF</a> instead of Axis.</p></div></div>
 
 <style type="text/css">/*<![CDATA[*/
-div.rbtoc1447935603275 {padding: 0px;}
-div.rbtoc1447935603275 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1447935603275 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1447942695005 {padding: 0px;}
+div.rbtoc1447942695005 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1447942695005 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style><div class="toc-macro rbtoc1447935603275">
+/*]]>*/</style><div class="toc-macro rbtoc1447942695005">
 <ul class="toc-indentation"><li><a shape="rect" href="#BookInOnePage-TutorialusingAxis1.4withApacheCamel">Tutorial using Axis 1.4 with Apache Camel</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#BookInOnePage-Prerequisites">Prerequisites</a></li><li><a shape="rect" href="#BookInOnePage-Distribution">Distribution</a></li><li><a shape="rect" href="#BookInOnePage-Introduction">Introduction</a></li><li><a shape="rect" href="#BookInOnePage-SettinguptheprojecttorunAxis">Setting up the project to run Axis</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#BookInOnePage-Maven2">Maven 2</a></li><li><a shape="rect" href="#BookInOnePage-wsdl">wsdl</a></li><li><a shape="rect" href="#BookInOnePage-ConfiguringAxis">Configuring Axis</a></li><li><a shape="rect" href="#BookInOnePage-RunningtheExample">Running the Example</a></li></ul>
@@ -17316,11 +17316,11 @@ template.send(&quot;direct:alias-verify&
 ]]></script>
 </div></div><p></p><h3 id="BookInOnePage-SeeAlso.28">See Also</h3>
 <ul><li><a shape="rect" href="configuring-camel.html">Configuring Camel</a></li><li><a shape="rect" href="component.html">Component</a></li><li><a shape="rect" href="endpoint.html">Endpoint</a></li><li><a shape="rect" href="getting-started.html">Getting Started</a></li></ul><ul><li><a shape="rect" href="crypto.html">Crypto</a> Crypto is also available as a <a shape="rect" href="data-format.html">Data Format</a></li></ul> <h2 id="BookInOnePage-CXFComponent">CXF Component</h2><div class="confluence-information-macro confluence-information-macro-note"><span class="aui-icon aui-icon-small aui-iconfont-warning confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>When using CXF as a consumer, the <a shape="rect" href="cxf-bean-component.html">CXF Bean Component</a> allows you to factor out how message payloads are received from their processing as a RESTful or SOAP web service. This has the potential of using a multitude of transports to consume web 
 services. The bean component's configuration is also simpler and provides the fastest method to implement web services using Camel and CXF.</p></div></div><div class="confluence-information-macro confluence-information-macro-tip"><span class="aui-icon aui-icon-small aui-iconfont-approve confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>When using CXF in streaming modes (see DataFormat option), then also read about <a shape="rect" href="stream-caching.html">Stream caching</a>.</p></div></div><p>The <strong>cxf:</strong> component provides integration with <a shape="rect" href="http://cxf.apache.org">Apache CXF</a> for connecting to JAX-WS services hosted in CXF.</p><p><style type="text/css">/*<![CDATA[*/
-div.rbtoc1447935663552 {padding: 0px;}
-div.rbtoc1447935663552 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1447935663552 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1447942700088 {padding: 0px;}
+div.rbtoc1447942700088 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1447942700088 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style></p><div class="toc-macro rbtoc1447935663552">
+/*]]>*/</style></p><div class="toc-macro rbtoc1447942700088">
 <ul class="toc-indentation"><li><a shape="rect" href="#BookInOnePage-CXFComponent">CXF Component</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#BookInOnePage-URIformat">URI format</a></li><li><a shape="rect" href="#BookInOnePage-Options">Options</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#BookInOnePage-Thedescriptionsofthedataformats">The descriptions of the dataformats</a>
@@ -21773,7 +21773,7 @@ rnc:someLocalOrRemoteResource]]></script
 &lt;/camelContext&gt;
 ]]></script>
 </div></div><p></p><h3 id="BookInOnePage-SeeAlso.51">See Also</h3>
-<ul><li><a shape="rect" href="configuring-camel.html">Configuring Camel</a></li><li><a shape="rect" href="component.html">Component</a></li><li><a shape="rect" href="endpoint.html">Endpoint</a></li><li><a shape="rect" href="getting-started.html">Getting Started</a></li></ul> <h2 id="BookInOnePage-JMSComponent">JMS Component</h2><div class="confluence-information-macro confluence-information-macro-information"><p class="title">Using ActiveMQ</p><span class="aui-icon aui-icon-small aui-iconfont-info confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>If you are using <a shape="rect" class="external-link" href="http://activemq.apache.org/">Apache ActiveMQ</a>, you should prefer the <a shape="rect" href="activemq.html">ActiveMQ</a> component as it has been optimized for <a shape="rect" href="activemq.html">ActiveMQ</a>. All of the options and samples on this page are also valid for the <a shape="rect" href="activemq.html">ActiveMQ</a> component.</
 p></div></div><div class="confluence-information-macro confluence-information-macro-tip"><p class="title">Transacted and caching</p><span class="aui-icon aui-icon-small aui-iconfont-approve confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>See section <em>Transactions and Cache Levels</em> below if you are using transactions with <a shape="rect" href="jms.html">JMS</a> as it can impact performance.</p></div></div><div class="confluence-information-macro confluence-information-macro-tip"><p class="title">Request/Reply over JMS</p><span class="aui-icon aui-icon-small aui-iconfont-approve confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>Make sure to read the section <em>Request-reply over JMS</em> further below on this page for important notes about request/reply, as Camel offers a number of options to configure for performance, and clustered environments.</p></div></div><p>The JMS component allows mes
 sages to be sent to (or consumed from) a <a shape="rect" class="external-link" href="http://java.sun.com/products/jms/" rel="nofollow">JMS</a> Queue or Topic. The implementation of the JMS Component uses Spring's JMS support for declarative transactions, using Spring's <code>JmsTemplate</code> for sending and a <code>MessageListenerContainer</code> for consuming.</p><p>Maven users will need to add the following dependency to their <code>pom.xml</code> for this component:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<ul><li><a shape="rect" href="configuring-camel.html">Configuring Camel</a></li><li><a shape="rect" href="component.html">Component</a></li><li><a shape="rect" href="endpoint.html">Endpoint</a></li><li><a shape="rect" href="getting-started.html">Getting Started</a></li></ul> <h2 id="BookInOnePage-JMSComponent">JMS Component</h2><div class="confluence-information-macro confluence-information-macro-information"><p class="title">Using ActiveMQ</p><span class="aui-icon aui-icon-small aui-iconfont-info confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>If you are using <a shape="rect" class="external-link" href="http://activemq.apache.org/">Apache ActiveMQ</a>, you should prefer the <a shape="rect" href="activemq.html">ActiveMQ</a> component as it has been optimized for <a shape="rect" href="activemq.html">ActiveMQ</a>. All of the options and samples on this page are also valid for the <a shape="rect" href="activemq.html">ActiveMQ</a> component.</
 p></div></div><div class="confluence-information-macro confluence-information-macro-tip"><p class="title">Transacted and caching</p><span class="aui-icon aui-icon-small aui-iconfont-approve confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>See section <em>Transactions and Cache Levels</em> below if you are using transactions with <a shape="rect" href="jms.html">JMS</a> as it can impact performance.</p></div></div><div class="confluence-information-macro confluence-information-macro-tip"><p class="title">Request/Reply over JMS</p><span class="aui-icon aui-icon-small aui-iconfont-approve confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>Make sure to read the section <em>Request-reply over JMS</em> further below on this page for important notes about request/reply, as Camel offers a number of options to configure for performance, and clustered environments.</p></div></div><p>This&#160;component allows m
 essages to be sent to (or consumed from) a <a shape="rect" class="external-link" href="http://java.sun.com/products/jms/" rel="nofollow">JMS</a> Queue or Topic. It uses Spring's JMS support for declarative transactions, including Spring's <code>JmsTemplate</code> for sending and a <code>MessageListenerContainer</code> for consuming.</p><p>Maven users will need to add the following dependency to their <code>pom.xml</code> for this component:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[&lt;dependency&gt;
     &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
     &lt;artifactId&gt;camel-jms&lt;/artifactId&gt;

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

Modified: websites/production/camel/content/jms.html
==============================================================================
--- websites/production/camel/content/jms.html (original)
+++ websites/production/camel/content/jms.html Thu Nov 19 14:19:46 2015
@@ -86,7 +86,7 @@
 	<tbody>
         <tr>
         <td valign="top" width="100%">
-<div class="wiki-content maincontent"><h2 id="JMS-JMSComponent">JMS Component</h2><div class="confluence-information-macro confluence-information-macro-information"><p class="title">Using ActiveMQ</p><span class="aui-icon aui-icon-small aui-iconfont-info confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>If you are using <a shape="rect" class="external-link" href="http://activemq.apache.org/">Apache ActiveMQ</a>, you should prefer the <a shape="rect" href="activemq.html">ActiveMQ</a> component as it has been optimized for <a shape="rect" href="activemq.html">ActiveMQ</a>. All of the options and samples on this page are also valid for the <a shape="rect" href="activemq.html">ActiveMQ</a> component.</p></div></div><div class="confluence-information-macro confluence-information-macro-tip"><p class="title">Transacted and caching</p><span class="aui-icon aui-icon-small aui-iconfont-approve confluence-information-macro-icon"></span><div class="conf
 luence-information-macro-body"><p>See section <em>Transactions and Cache Levels</em> below if you are using transactions with <a shape="rect" href="jms.html">JMS</a> as it can impact performance.</p></div></div><div class="confluence-information-macro confluence-information-macro-tip"><p class="title">Request/Reply over JMS</p><span class="aui-icon aui-icon-small aui-iconfont-approve confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>Make sure to read the section <em>Request-reply over JMS</em> further below on this page for important notes about request/reply, as Camel offers a number of options to configure for performance, and clustered environments.</p></div></div><p>The JMS component allows messages to be sent to (or consumed from) a <a shape="rect" class="external-link" href="http://java.sun.com/products/jms/" rel="nofollow">JMS</a> Queue or Topic. The implementation of the JMS Component uses Spring's JMS support for declarative transac
 tions, using Spring's <code>JmsTemplate</code> for sending and a <code>MessageListenerContainer</code> for consuming.</p><p>Maven users will need to add the following dependency to their <code>pom.xml</code> for this component:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<div class="wiki-content maincontent"><h2 id="JMS-JMSComponent">JMS Component</h2><div class="confluence-information-macro confluence-information-macro-information"><p class="title">Using ActiveMQ</p><span class="aui-icon aui-icon-small aui-iconfont-info confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>If you are using <a shape="rect" class="external-link" href="http://activemq.apache.org/">Apache ActiveMQ</a>, you should prefer the <a shape="rect" href="activemq.html">ActiveMQ</a> component as it has been optimized for <a shape="rect" href="activemq.html">ActiveMQ</a>. All of the options and samples on this page are also valid for the <a shape="rect" href="activemq.html">ActiveMQ</a> component.</p></div></div><div class="confluence-information-macro confluence-information-macro-tip"><p class="title">Transacted and caching</p><span class="aui-icon aui-icon-small aui-iconfont-approve confluence-information-macro-icon"></span><div class="conf
 luence-information-macro-body"><p>See section <em>Transactions and Cache Levels</em> below if you are using transactions with <a shape="rect" href="jms.html">JMS</a> as it can impact performance.</p></div></div><div class="confluence-information-macro confluence-information-macro-tip"><p class="title">Request/Reply over JMS</p><span class="aui-icon aui-icon-small aui-iconfont-approve confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>Make sure to read the section <em>Request-reply over JMS</em> further below on this page for important notes about request/reply, as Camel offers a number of options to configure for performance, and clustered environments.</p></div></div><p>This&#160;component allows messages to be sent to (or consumed from) a <a shape="rect" class="external-link" href="http://java.sun.com/products/jms/" rel="nofollow">JMS</a> Queue or Topic. It uses Spring's JMS support for declarative transactions, including Spring's <code>Jms
 Template</code> for sending and a <code>MessageListenerContainer</code> for consuming.</p><p>Maven users will need to add the following dependency to their <code>pom.xml</code> for this component:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[&lt;dependency&gt;
     &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
     &lt;artifactId&gt;camel-jms&lt;/artifactId&gt;