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

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

      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.

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

                Created:
                Updated:
                Resolved: