Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The Phase One Complete event MUST be signaled with the following arguments:
An XA Superior Enlistment Object.
If the Phase One Complete event is signaled, the XA Subordinate Transaction Manager Facet MUST perform the following actions:
If the Current Request CMP Connection Object referenced by the provided XA Superior Enlistment Object is set:
If the provided Outcome is set to In Doubt:
Set the State field of the provided XA Superior Enlistment Object to In Doubt.
Send an XAUSER_XACT_MTAG_PREPARE_SINGLEPHASE_INDOUBT message.
Disconnect the Current Request CMP Connection Object referenced by the provided XA Superior Enlistment Object.
Otherwise if the provided Outcome value is set to Committed and the State field of the provided XA Superior Enlistment Object is set to Preparing Single Phase:
Set the State field of the provided XA Superior Enlistment Object to Committed.
Send an XAUSER_XACT_MTAG_REQUEST_COMPLETED message.
Disconnect the Current Request CMP Connection Object referenced by the provided XA Superior Enlistment Object.
Remove the provided XA Superior Enlistment Object from the XA Superior Enlistment Table referenced by the XA Superior Object indexed in the XA Superior Table by the Resource Manager Recovery GUID field of XA Superior Enlistment Object.
Otherwise if Outcome value is set to Aborted:
Set the State field of the provided XA Superior Enlistment Object to Aborted.
Send an XAUSER_XACT_MTAG_PREPARE_ABORT message.
Disconnect the Current Request CMP Connection Object referenced by the provided XA Superior Enlistment Object.
Remove the provided XA Superior Enlistment from XA Superior's XA Superior Enlistment Table.
Otherwise if the Outcome value is set to Prepared:
Set the State field of the provided XA Superior Enlistment Object to Prepared.
Send an XAUSER_XACT_MTAG_REQUEST_COMPLETED message.
Disconnect the Current Request CMP Connection Object referenced by the provided XA Superior Enlistment Object.
Otherwise if Outcome value is set to ReadOnly:
The XA Subordinate Transaction Manager Facet will drop the connection.