3.3.5.7.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.8.1), it MUST perform the following actions:

  • If the State field of the XA Transaction Object referenced by the receiving connection is set to Suspended:

    • Set the Transaction Identifier field of the XA Transaction referenced by the receiving connection to the guidTx field of the message.

    • Insert the XA Transaction Object into the XA Transaction Table referenced by the Parent XA Superior Proxy object referenced by the XA Transaction Object.

    • Set the State field of the XA Transaction Object to Active.

    • Return XA_OK from xa_start call.

  • Otherwise:

    • Signal the Disconnect Connection event using the receiving Connection as the argument.