3.5.5.4.1.4 Receiving a TXUSER_STATUS_MTAG_COMMITTED Message
When the resource manager receives a TXUSER_STATUS_MTAG_COMMITTED message, the resource manager MUST perform the following actions:
If the connection state is Awaiting Outcome:
Send a Transaction Committed notification to the higher-layer business logic.
Set the connection state to Ended.
Otherwise, the message MUST be processed as an invalid message as specified in section 3.1.6.