3.3.5.4.2 Receiving an XAUSER_XACT_MTAG_RESUME_DONE Message
When the XA Superior Transaction Manager receives an XAUSER_XACT_MTAG_RESUME_DONE message (section 2.2.4.7.2), it MUST perform the following actions:
If the State field of the XA Transaction Object referenced by the receiving connection is set to Suspended:
Leave the Transaction Identifier field of the XA Transaction referenced by the receiving connection uninitialized. The behavior is different for the same event on a CONNTYPE_XAUSER_XACT_MIGRATE2 connection (section 3.3.5.7.2).
Set the State field of the XA Transaction Object referenced by the receiving connection to Active.
Insert the XA Transaction Object in the XA Transaction Table referenced by the Parent XA Superior Proxy object referenced by the XA Transaction Object.
Return XA_OK from xa_start call.
Set the connection state to Ended.
Otherwise:
Signal the Disconnect Connection event using the receiving Connection as the argument.