Atomikos Forum

Does JTA work across multiple threads?

From JTA specs i understand that it works (or supports) distributed transactions only for calling thread. Does this mean that transactions cannot be spanned across multiple threads? Or it depends on implementation?

Does Atomikos JTA implementation supports XA across threads?
rm1809 Send private email
Thursday, July 05, 2012

AFAIK a transaction is tied to a Thread. I don't think you can start threads in your process and expect any JTA TM to work.
Pascal Leclercq Send private email
Monday, August 20, 2012

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics