3.3.4.8.1 Commit a Transaction Using CONNTYPE_TXUSER_BEGIN2

The application MUST perform the following actions:

  • If the connection state is not Processing Transaction:

    • Return a failure result to the higher-layer business logic.

  • Otherwise:

    • Send a TXUSER_BEGIN2_MTAG_COMMIT (section 2.2.8.1.2.3) message using the CONNTYPE_TXUSER_BEGIN2 (section 2.2.8.1.2) connection:

      • Set the connection state to Awaiting Commit Response.