3.4.5.1.2.3 Receiving a TXUSER_BEGIN2_MTAG_COMMIT Message

When the transaction manager communicating with an application facet receives a TXUSER_BEGIN2_MTAG_COMMIT message, the transaction manager communicating with an application facet MUST perform the following actions:

  • If the connection state is Active:

    • Set the connection state to Committing Transaction.

    • Obtain the transaction object referenced by the Enlistment object referenced by this connection.

    • Set the GRFRM field of the transaction object to the grfRM field of the message.

    • Signal theĀ  Begin Phase Zero (section 3.2.7.5) event on the Core Transaction Manager Facet with the transaction object.

  • Otherwise, the message MUST be processed as an invalid message as specified in section 3.1.6.