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 Create Superior Enlistment Success event MUST be signaled with the following arguments:
An XA Superior Enlistment Object.
If the Create Superior Enlistment Success event is signaled, the XA Subordinate Transaction Manager Facet MUST perform the following actions:
If the State field of the provided XA Superior Enlistment Object is set to Init:
Attempt to find XA Superior Object in XA Superior Table keyed by the Resource Manager Recovery GUID field of the provided XA Superior Enlistment Object.
If an Object is not found:
Attempt to create a new XA Superior Object with the following values:
The Open Count field is set to 1.
The Current Recovery XID is set to the XID field of the provided XA Superior Enlistment Object.
If creation of the new XA Superior Object fails:
Send an XAUSER_XACT_MTAG_START_NO_MEM message using the connection referenced by the Current Request CMP connection field of the XA Superior Enlistment Object.
The processing for this event is complete.
Add the provided XA Superior Enlistment Object to 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.
Set the State field of the Current Request CMP connection field of the provided XA Superior Enlistment Object to Active.
Set the State field of the provided XA Superior Enlistment Object to Active.
Set the XA Superior Enlistment Object reference of the XA Superior Enlistment's Current Request CMP Connection to the located XA Superior Enlistment Object.
Send an XAUSER_XACT_MTAG_STARTED message with the following arguments using the connection referenced by the Current Request CMP connection field of the XA Superior Enlistment Object:
The Transaction Identifier of the Transaction Object referenced by the provided XA Superior Enlistment Object.
Disconnect the XA Superior Enlistment's Current Request CMP Connection Object.