You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by ravi21588 <ra...@gmail.com> on 2016/10/20 21:16:17 UTC

Camel Transactions query

Hi all,
 I have a query in implementing transactions.
If there is any exception in route the transaction will not be committed and
rollbacked. 
I had mentioned redelivery for 3 times in hornetq address setting
configuration.
Is there any way in camel,i can frame the error message with error details
and put in to another queue after the redelivery of 3 times.
Correct me if my understanding is correct.



--
View this message in context: http://camel.465427.n5.nabble.com/Camel-Transactions-query-tp5789052.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel Transactions query

Posted by fabryprog <fa...@bizmate.it>.
Hello,

to manage sql transaction's query you must use

1. camel sql component (http://camel.apache.org/sql-component.html)
2. transactional client (http://camel.apache.org/transactional-client.html)
3. mark your route "<transacted/>"

N.B. if you invoke more nested routes without right transaction manage, you
could get out your transaction scope!

kings regards



--
View this message in context: http://camel.465427.n5.nabble.com/Camel-Transactions-query-tp5789052p5789243.html
Sent from the Camel - Users mailing list archive at Nabble.com.