Since we're on a major migration process of this website, some component documents here are out of sync right now. In the meantime you may want to look at the asciidoc in the repository: https://github.com/apache/camel/blob/master/README.md https://github.com/apache/camel/blob/master/components/readme.adoc

How Do I Make My JMS Endpoint Transactional?

I have a JMS route like this:

from("activemq:Some.Queue")
  .bean(MyProcessor.class);

Question:

How Do I Make It Transactional?

Answer:

There are examples in the Transactional Client and it is described in the Enabling Transacted Consumption section of JMS. To make a session transactional set transacted=true flag on the JMS endpoint and configure a transactionManager on the Component or Endpoint

See Also

© 2004-2015 The Apache Software Foundation.
Apache Camel, Camel, Apache, the Apache feather logo, and the Apache Camel project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.
Graphic Design By Hiram