camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Babak Vahdat <babak.vah...@swissonline.ch>
Subject Re: JTA Transaction problems (rollback doesn´t affect DB)
Date Thu, 23 Feb 2012 20:42:24 GMT
Hi

Not sure if this could be the cause of the problem but may be check the
transaction setting [1] of your EJB method, for example if it's REQUIRES_NEW
then this would clarify the behavior. And using Camel's own EJB component
[2] could also make it easier to integrate an EJB call inside your route
(instead of using a custom processor as in your code snippet).  

[1]
http://docs.oracle.com/javaee/6/api/javax/ejb/TransactionAttributeType.html
[2] http://camel.apache.org/ejb.html

Babak

--
View this message in context: http://camel.465427.n5.nabble.com/JTA-Transaction-problems-rollback-doesn-t-affect-DB-tp5509159p5509292.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message