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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.10, 0.12
    • 0.15
    • JMS AMQP 0-x
    • None
    • 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

            Unassigned Unassigned
            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