3.6.7.7 Create Phase Zero Enlistment Failure

The Create Phase Zero Enlistment Failure event MUST be signaled with the following arguments:

  • An Enlistment object.

  • A value indicating the failure reason. The reason MUST be set to one of the following values:

    • Too Late

    • Tx Not Found

If the Create Phase Zero Enlistment Failure event is signaled, the transaction manager MUST perform the following actions:

  • If the connection state is Awaiting Create Response (section 3.6.1.3.2):

    • Send the matching message for the following reason codes using the connection of the provided enlistment:

      • Too Late: TXUSER_PHASE0_MTAG_CREATE_TOO_LATE (section 2.2.10.2.1.2).

      • Tx Not Found: TXUSER_PHASE0_MTAG_CREATE_TX_NOT_FOUND (section 2.2.10.2.1.3)

    • Set the connection state to Ended.

  • Otherwise, ignore the event.