3.3.5.1.1.5 Receiving a TXUSER_BEGINNER_MTAG_COMMIT_INDOUBT Message
When the application receives a TXUSER_BEGINNER_MTAG_COMMIT_INDOUBT (section 2.2.8.1.1.7) message, the application MUST perform the following actions:
If the connection state is Awaiting Commit Response:
Return a transaction In Doubt (section 3.2.1.3.12) result 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.