3.4.5.3.3.1 Receiving a TXUSER_SETTXTIMEOUT_MTAG_SETTXTIMEOUT Message

When the transaction manager receives a TXUSER_SETTXTIMEOUT_MTAG_SETTXTIMEOUT (section 2.2.8.1.2.7) message, the transaction manager MUST perform the following actions:

  • If the connection state is Idle:

    • Set the connection state to Processing Request.

    • Find the transaction object in the transaction table of the transaction manager by using the guidTx field from the message as the key.

    • If the transaction object is not found in the list:

      • Send the application a TXUSER_SETTXTIMEOUT_MTAG_TX_NOT_FOUND (section 2.2.8.3.3.1) message.

      • Set the connection state to Ended.

    • Otherwise:

      • Signal the Set Transaction Timeout (section 3.2.7.32) event on the Core Transaction Manager Facet with the following arguments:

        •  The transaction object

        • The dwTxTimeout field from the message

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