Uploaded image for project: 'JBoss A-MQ'
  1. JBoss A-MQ
  2. ENTMQ-2124

org.apache.activemq.TransactionContext.recover(int flag) should return null or an empty array when it receives the flag XAResource.TMNOFLAGS as it has return all transactions when called with XAResource.TMSTARTRSCAN. or XAResource. TMENDRSCAN.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • None
    • JBoss A-MQ 6.3
    • broker

    Description

      From AMQ-6089:

      org.apache.activemq.TransactionContext implements XAResource. The recover method currently ignores the flag parameter, returning all transaction regardless of flags passed to it. This behaviour cause our transaction manager (IIB) to go into an indefinite loop. It is expecting to get an empty array or null when XAResource.TMNOFLAGS is passed as all transactions where returned by the prior XAResource.TMSTARTRSCAN call.

      Attachments

        Issue Links

          Activity

            People

              gtully@redhat.com Gary Tully
              rhn-support-tmielke Torsten Mielke
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: