camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anders Bohn Jespersen <...@miracle.dk>
Subject Transacted Apache Camel Route with CDI in AS7 ?
Date Mon, 02 Jun 2014 13:41:12 GMT
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
abj@miracle.dk
+45 5374 7251






Mime
View raw message