3.3.4.1 XA Lookup

The XA Lookup event MUST be signaled with the following arguments:

  • XID - The XA Transaction Branch Identifier to look for.

  • Resource Manager Identifier - The resource manager ID to be used to look for the corresponding XA Superior Proxy object.

The XA Lookup event MUST return the following value:

If the XA Lookup event is signaled, the XA Superior Transaction Manager MUST perform the following actions:

  • Attempt to find the XA Superior Proxy object whose key is set to the provided Resource Manager Identifier in the XA Superior Proxy Table.

  • If the XA Superior Proxy object is found:

    • Attempt to find XA Transaction Object whose key is set to the provided XID in the XA Transaction Table referenced by the located XA Superior Proxy object:

      • If the XA Transaction Object is found:

        • Return the Transaction Identifier field of the located XA Transaction Object.

      • Otherwise:

        • Return NULL.

  • Otherwise:

    • Return NULL.