Absolutely right! I missed the executorService() call inside DSL.

Of course the leverage of the transaction inside the DSL should happen
*after* the executorService() call so that it gets attached into the thread
managed by the MyThreadPoolExecutor.

The example Christian has already showed made this happen using the
"direct:sub" endpoint as a bridge.

Babak  

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

Reply via email to