Hi,

I have a camel process on broader perspective:  
JMS---->Parser----->Formatter----->JMS
This process consists of the following routes in a Routebuilder
JMS----> SEDA Queue1
SEDA Queue1 ----->Parser
Parser-----> SEDA Queue2
SEDA Queue2 ------->Formatter
Formatter------> SEDA Queue3
SEDA Queue3 ------>JMS

My requirement is to have transaction between the two JMS endpoints so if any 
exception occurs in parsing and formatting it stop the processing of message 
and send back the exception to JMS provider .
I tried using transacted() just after the from JMS endpoint like

from(jms:queue:test).transacted()

but this makes only the first route transacted and not the all routes. How can 
I make all the routes in one transaction.

Camel version I am using : 2.9.0



Thanks & Regards,
Shadab Ali

This e-mail (and any attachments), is confidential and may be privileged. It 
may be read, copied and used only
by intended recipients. Unauthorized access to this e-mail (or attachments) and 
disclosure or copying of its 
contents or any action taken in reliance on it is unlawful. Unintended 
recipients must notify the sender immediately 
by e-mail/phone & delete it from their system without making any copies or 
disclosing it to a third person.

Reply via email to