Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-3625

XASessionImpl Incorrectly sets Session acknowledge mode to AUTO_ACKNOWLEDGE when it should be CLIENT_ACKNOWLEDGE

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.10, 0.12
    • Fix Version/s: 0.15
    • Component/s: JMS AMQP 0-x
    • Labels:
      None
    • Environment:

      All platforms

      Description

      When using distributed transactions (XA) message acknowledgement needs to occur prior to the XA transaction being started in order to consistently support the two phase commit protocol. In order for this to correctly occur, the XASessionImpl, a non-transacted Session (i.e. non JMS transacted session) should be configured to use CLIENT_ACKNOWLEDGE as this is the only mode that supports explicit message acknowledgement which again, is required to correctly participate in the distributed transaction.

        Attachments

        1. QPID-3625.patch
          1 kB
          Weston M. Price
        2. QPID3625-XASession.patch
          7 kB
          Weston M. Price

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              wprice Weston M. Price
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified