camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: Transaction management when multicasting within a route
Date Sat, 17 Sep 2016 13:25:58 GMT
You can do the stuff that should not participate in the transaction in
parallel, but all the DB updates etc should be single threaded and

There is no free lunch when it comes to TX and especially if you use
XA with 2-phase commit.

On Sat, Sep 17, 2016 at 2:21 PM, sairam75 <> wrote:
> Thanks for the response Claus.
> Agreed that the transaction should be done in a single transaction. The idea
> behind having multicasting is, we provide services and time complexity is
> one of our major concerns. Hence we have multiple threads for invoking
> independent write/update calls. In this case, for transaction management we
> would need to sacrifice the time and can make all the calls as sequential.
> So there isn't a way to manage as a transaction though when there are
> multiple threads.
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

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

View raw message