3.2.5.2.2 Connection Disconnected

The Connection Disconnected event MUST be signaled with the following argument:

  • XA Superior Enlistment CMP Connection.

When a CONNTYPE_XAUSER_XACT_START connection (section 2.2.4.3) is disconnected, the XA Subordinate Transaction Manager Facet (section 1.3.2.3.2) SHOULD perform the following actions:<10>

  • If the connection state is set to Active and the State field of the XA Superior Enlistment Object referenced by the provided XA Superior Enlistment CMP Connection is set to either Active or Preparing:

    • Set the State field of XA Superior Enlistment Object referenced by the provided XA Superior Enlistment CMP Connection to Aborting.

    • If the Current Request CMP Connection field of the XA Superior Enlistment Object referenced by the provided XA Superior Enlistment CMP Connection is set to the provided XA Superior Enlistment CMP Connection:

      • Remove the reference to the XA Superior Enlistment CMP Connection from the Current Request CMP Connection field of the XA Superior Enlistment Object.

    • Signal the Begin Rollback event ([MS-DTCO] section 3.2.7.6) on the Core Transaction Manager Facet with the following argument:

      • The Transaction Object, referenced by the XA Superior Enlistment Object, referenced by the provided XA Superior Enlistment CMP Connection.