3.3.5.1.2.1 Receiving a TXUSER_BEGIN2_MTAG_SINK_BEGUN Message

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

  • If the connection state is Awaiting Begin Response, the application MUST:

    • Set the connection state to Processing Transaction.

    • Create a transaction object that is initialized as follows:

      • Set the transaction Transaction Object.Identifier field to the guidTx field from the message.

      • Set the transaction Root field to TRUE.

    • Add the connection to the transaction connection list.

    • Set the transaction field of the connection to the transaction.

    • Return a success result and a reference to the transaction object to the higher-layer business logic.

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