isSameRM() should return true if they correspond to the same resource manager, in JBM's case this means the same server.
yep exactly. The actaul method returns...
boolean same = ((MessagingXAResource)xaResource).rm.getServerID() == this.rm.getServerID();
so it just compares the peer ids.
Yes.. i saw that...
But someone was complaining about eventual failures... so I wanted to confirm if that was the supposed behaviour.