camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alodde <andr...@lod2e.de>
Subject Re: multicast transaction
Date Tue, 16 Nov 2010 09:33:07 GMT

The question is maybe more general.

Is it possible to associate a transaction with more then two threads?

As multicast is able to process to operations (to) in parallel, for each
operation (to) an own thread need to be started. Which results in the
problem that one transaction context has to be associated with two different
threads.

Maybe I am wrong, but I guess that is not possible. I think it will throw
an: javax.transaction.InvalidTransactionException: Specified transaction is
already associated with another thread

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

Mime
View raw message