Currently the XASessionImpl class fails to implement the resubscribe() method. As a result, the super class resubscribe method is called. This does not allow the failed over session to correctly invoke dtxSelect() as well as reconstructing the underlying XAResource. As a result, an expect is thrown when the XASession attempts any sort of message handling.
The XASessionImpl class needs to override the resubscribe() method allowing for the correct XA/failover behavior.