Uploaded image for project: 'eXo-JCR'
  1. eXo-JCR
  2. EXOJCR-410

Do not enlist XAResource into JOTM transaction manager without a transaction context

    Details

      Description

      TransactionServiceJotmImpl tracks XA resources (on enlist) into the manager without a transaction context also.
      Change TransactionServiceJotmImpl to be able to manage the enlistResource behaviour via configuration.

      By default the tracking will not be performed.

      To enable the tracking (to be compatible with previous eXo Kernel) use parameter "track-without-transaction=true":
      <component>
      <key>org.exoplatform.services.transaction.TransactionService</key>
      <type>org.exoplatform.services.transaction.impl.jotm.TransactionServiceJotmImpl</type>
      <init-params>
      <value-param>
      <name>timeout</name>
      <value>5</value>
      </value-param>
      <value-param>
      <name>track-without-transaction</name>
      <value>true</value>
      </value-param>
      </init-params>
      </component>

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  pnedonosko Peter Nedonosko
                  Reporter:
                  pnedonosko Peter Nedonosko
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - 2 hours
                    2h
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 2 hours
                    2h