3.3.5.2.1.1.3 Receiving a TXUSER_IMPORT2_MTAG_SINK_ERROR Message

 When the application receives a TXUSER_IMPORT2_MTAG_SINK_ERROR message, the application MUST perform the following actions:

  • If the connection state is Active:

    • If the Error field in the message is set to TRUN_TXBEGIN_ERROR_NOTIFY_COMMITTED, TRUN_TXBEGIN_ERROR_NOTIFY_ABORTED, or TRUN_TXBEGIN_ERROR_NOTIFY_INDOUBT:

      • Notify the higher-layer business logic of the outcome of the transaction.

      • Set the connection state to Ended.

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

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