Based on discussion at jira JBEAP-5126 (https://issues.jboss.org/browse/JBEAP-5126?focusedCommentId=13271878#comment-13271878) there could be a good enhancement for transaction propagated over ejb called over iiop to not start 2PC process when the called ejb creates its own new transaction (TransactionAttributeType.REQUIRES_NEW).
Quoting Tom's comment here
Yeah, its expected to be this way for JTS as the context is propagated
over. It could be possible to register an enhancement in the iiop
subsystem to remove the context from the thread if the EJB does not
require a propagated transaction.
- clones
-
JBEAP-5448 Enhance behavior of transaction propagation called over IIOP to not start 2PC when called ejb creates own new transaction
- Closed
- is related to
-
JBEAP-5126 Prevent enlisting additional resources on EJB caller side in case of server side RequiresNew
- Closed