3.8.7.3 Commit Complete
The Commit Complete event MUST be signaled with the following arguments:
An Enlistment object
If the Commit Complete event is signaled, the Subordinate Transaction Manager Facet (section 3.8) MUST perform the following actions:
If the provided enlistment's connection is of type CONNTYPE_TXUSER_BRANCH (section 2.2.9.1.2.1) or CONNTYPE_PARTNERTM_PROPAGATE (section 2.2.9.1.1.1):
Send a PARTNERTM_PROPAGATE_MTAG_COMMITREQDONE (section 2.2.9.1.1.1.10) message using the provided enlistment's connection.
Set the connection state to Ended.
Otherwise, if the provided enlistment's connection is of type CONNTYPE_PARTNERTM_REDELIVERCOMMIT (section 2.2.9.2.2.1):
Send a PARTNERTM_REDELIVERCOMMIT_MTAG_COMMITREQDONE (section 2.2.9.2.2.1.2) message using the provided enlistment's connection.
Set the connection state to Ended.