Description
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.