Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Documentation for JEE Transaction Handling in Camel needed

$
0
0
Hi,

our application run in JBoss EAP 6.1 and uses different camel routes to read data from external servers, converts and writes them via jms (hornetQ) into database. The MDB reads values from queue, store them in database and put in a second queue.
Sometimes an OptimisticLockException occurs in second MDB while trying to look up them in database.

Very simplified scenario:
from("ftp://server").to("direct:convert");
from("direct:convert").process(xyz).bean(myEJB).to("direct:save");
from("direct:save").process(abc).to("jms://savequeue");

My question is where can I find a description of how and when transactions are started and closed during a camel route using EJBs.

Regards Robin

Viewing all articles
Browse latest Browse all 5648

Trending Articles