Repository: camel Updated Branches: refs/heads/master e4f5dc827 -> 34a45a4bd
Fixing up some Admonition blocks. Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/34a45a4b Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/34a45a4b Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/34a45a4b Branch: refs/heads/master Commit: 34a45a4bd280afc171e2ef7431787f164ae2ce9c Parents: e4f5dc8 Author: Hiram Chirino <hi...@hiramchirino.com> Authored: Thu Jan 21 15:43:06 2016 -0500 Committer: Claus Ibsen <davscl...@apache.org> Committed: Sun Jan 24 10:43:44 2016 +0100 ---------------------------------------------------------------------- components/camel-jms/src/main/docs/readme.adoc | 23 +++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/34a45a4b/components/camel-jms/src/main/docs/readme.adoc ---------------------------------------------------------------------- diff --git a/components/camel-jms/src/main/docs/readme.adoc b/components/camel-jms/src/main/docs/readme.adoc index f786b2f..e63dc8d 100644 --- a/components/camel-jms/src/main/docs/readme.adoc +++ b/components/camel-jms/src/main/docs/readme.adoc @@ -2,25 +2,34 @@ JMS Component ~~~~~~~~~~~~~ -Using ActiveMQ +[TIP] +==== +*Using ActiveMQ* If you are using http://activemq.apache.org/[Apache ActiveMQ], you should prefer the link:activemq.html[ActiveMQ] component as it has been optimized for link:activemq.html[ActiveMQ]. All of the options and samples on this page are also valid for the link:activemq.html[ActiveMQ] component. +==== -Transacted and caching +[NOTE] +==== +*Transacted and caching* See section _Transactions and Cache Levels_ below if you are using transactions with link:jms.html[JMS] as it can impact performance. +==== -Request/Reply over JMS +[NOTE] +==== +*Request/Reply over JMS* Make sure to read the section _Request-reply over JMS_ 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. +==== This component allows messages to be sent to (or consumed from) a http://java.sun.com/products/jms/[JMS] Queue or Topic. It uses Spring's @@ -100,8 +109,7 @@ optimized to use ActiveMQ efficiently Transactions and Cache Levels +++++++++++++++++++++++++++++ - + - If you are consuming messages and using transactions +If you are consuming messages and using transactions (`transacted=true`) then the default settings for cache level can impact performance. + If you are using XA transactions then you cannot cache as it can cause @@ -169,11 +177,14 @@ map to properties on the http://camel.apache.org/maven/current/camel-jms/apidocs/org/apache/camel/component/jms/JmsConfiguration.html[JMSConfiguration POJO]. -Mapping to Spring JMS +[WARNING] +==== +*Mapping to Spring JMS* Many of these properties map to properties on Spring JMS, which Camel uses for sending and receiving messages. So you can get more information about these properties by consulting the relevant Spring documentation. +==== The options are divided into two tables, the first one with the most common options used. The latter contains the rest.