camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: Apache Camel XA transaction
Date Thu, 20 Aug 2015 05:13:51 GMT

You can read about transactions here

On Thu, Aug 20, 2015 at 5:02 AM, kishoreJ <> wrote:
>  have to send a message to an endpoint using camel and at the same time if
> the message is sent successfull then i have to update the database ..
> These two steps should be done in a single transaction
> Now i have to roll back the camel message if there is any exception in
> updating the database or i have to roll back db transaction if there is any
> exception in sending the message.
> so i have to either send both at the same time or if there is any exception
> in one case then i have to rollback both at the same time.
> Does anyone have any clue?
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
----------------- @davsclaus
Camel in Action 2nd edition:

View raw message