Hi, Camel route transaction support is based on Spring transaction. You can enable the transaction support in camel-jms component, but I don’t think the camel route can support transaction without using spring.
-- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On June 2, 2014 at 9:56:45 PM, Anders Bohn Jespersen ([email protected]) wrote: > We are running Apache Camel inside a Redhat EAP/JBoss AS7 using CDI to setup > the context > - from http://camel.apache.org/cdi.html. > > This works fine, but since we use EJB's and MDB's as well, we need > transactional routes. > > Looking at http://camel.apache.org/transactional-client.html, this seems to > require > Spring, which should be configured to use the JBoss JTA transaction manager. > > I can get the TM from the container via JNDI, but it is not clear, how to > register it with > the camelContext without spring. > > Nor to combine CDI-camel-context + RouteBuilder + Spring-bean-registration. > > > Any pointers are much appreciated. > > > Med venlig hilsen > ----------- > Anders Bohn Jespersen > [email protected] > +45 5374 7251 > > > > > >
