3.3.5.3.4.1 Receiving a TXUSER_SETTXTIMEOUT_MTAG_TX_NOT_FOUND Message

When the application receives a TXUSER_SETTXTIMEOUT_MTAG_TX_NOT_FOUND (section 2.2.8.3.3.1) message, the application MUST perform the following actions:

  • If the connection state is Awaiting Set Timeout Response:

    • Find an instance of a CONNTYPE_TXUSER_BEGIN2 (section 2.2.8.1.2) or CONNTYPE_TXUSER_PROMOTE (section 2.2.8.1.3) connection in the transaction connection list. This connection is referred to as the beginner connection.

    • If a beginner connection is not found:

      • The application MUST return a failure result to the higher-layer business logic.

    • Otherwise, if the beginner connection state is not Awaiting Set Timeout Response:

      • The application MUST return a failure result to the higher-layer business logic.

    • Otherwise:

      • Set the beginner connection state to Processing Transaction.

      • The application MUST return a failure result to the higher-layer business logic.

    • Set the CONNTYPE_TXUSER_SETTXTIMEOUT2 (section 2.2.8.3.4) connection state to Ended.

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