atomikos / transactions-essentials

Development repository for next major release of
https://www.atomikos.com/Main/TransactionsEssentials
Other
462 stars 139 forks source link

Avoid prepare call to the Coordinator for recursions and RequiresNew #222

Open martinaubele opened 2 months ago

martinaubele commented 2 months ago

Please see first https://github.com/atomikos/transactions-essentials/issues/217 to allow recursive Calls

like this: In ProcessA, Service A.a1(operation) remotecall Service B.b1 in ProcessB, and B.b1 remotecall ServiceA.a2 in ProcessA

If recursive remote calls are possible you will run in another problem:

we have to avoid the prepare call to the Coordinator

please see: https://github.com/atomikos/transactions-essentials/pull/223