Hi

You can read about transactions here
http://camel.apache.org/transactional-client.html

On Thu, Aug 20, 2015 at 5:02 AM, kishoreJ <kishore00...@gmail.com> 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: 
> http://camel.465427.n5.nabble.com/Apache-Camel-XA-transaction-tp5770836.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2nd edition: http://www.manning.com/ibsen2

Reply via email to