5 Replies Latest reply on Apr 14, 2009 9:03 AM by Yong Hao Gao

    XA Heuristic Example --- We are not ready for it?

    Yong Hao Gao Master

      It seems not so meaningful for this example, look at the code:

      1. our XAResource methods (ClientSessionImpl) commit() and rollback() don't throw any Heuristic exceptions.
      2. out XAResource method forget() also does nothing. See ServerSessionImpl.doHandleXAForget()

       private void doHandleXAForget(final SessionXAForgetMessage packet)
       // Do nothing since we don't support heuristic commits / rollback from the
       // resource manager
       Packet response = new SessionXAResponseMessage(false, XAResource.XA_OK, null);