3 Replies Latest reply on Jan 14, 2009 4:28 PM by clebert.suconic

    Expected Behaviour MessagingXAResource.isSame

    clebert.suconic

      This is for JBM 1.4:


      What is the expected behaviour of isSame, with two distinct ResourceManagers, one from each JMSSession?

      The following test would fail:

      XASession sess = conn.createXASession();
       MessagingXAResource res = (MessagingXAResource)sess.getXAResource();
      
       XASession sess2 = conn.createXASession();
       MessagingXAResource res2 = (MessagingXAResource)sess2.getXAResource();
      
       Transaction tx = tm.getTransaction();
      
      
       assertFalse(res.isSameRM(res2)); // This would fail