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 <sairamyandlu...@gmail.com> 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 Nabble.com.
Camel in Action 2: https://www.manning.com/ibsen2