2 Replies Latest reply on May 23, 2006 10:38 AM by Mark Little

    XA recovery in JBossMQ

    Paul Robinson Master


      I noticed on the JBossTS forum the following posting:


      This posting is off-topic in the JBossTS forum and as such won't get a response.

      I would also like an answer to this query, can we discuss it here please?



        • 1. Re: XA recovery in JBossMQ
          Paul Robinson Master

          To make things easier, here is the origional posting:

          In order to get proper crash recovery, I was advised to use JBoss Transactions in place of the built in JBoss transaction manager. But a colleague pointed out to me that the recover() method in SpyXAResource.java returns an empty list of xids.

          public Xid[] recover(int arg1) throws XAException
          if (log.isTraceEnabled())
          log.trace("Recover arg1=" + arg1 + " " + this);

          return new Xid[0];

          Doesn't this mean that MQ will forget about any transactions that were left in the prepared state when a crash occurs? Will JBoss Transactions buy me anything. Our transactions span MQ (backed by Oracle) and Hibernate (also backed by Oracle).


          • 2. Re: XA recovery in JBossMQ
            Mark Little Master

            Unfortunately the original post is not very useful without the response(s) that followed. Interested parties should read all of the original thread.