Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-6920

Enhance behavior of transaction propagation called over IIOP to not start 2PC when called ejb creates own new transaction

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 10.1.0.CR1
    • EJB, IIOP
    • None

      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.

              tadamski@redhat.com Tomasz Adamski
              ochaloup@redhat.com Ondrej Chaloupka (Inactive)
              Daniel Simko Daniel Simko (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: