3.5.5.2.2 Receiving Other XATMUSER_MTAG_RMOPEN Messages

When the XA Resource Manager Bridge receives one of the following messages:

  • XATMUSER_MTAG_E_RMOPENFAILED (section 2.2.3.2.3)

  • XATMUSER_MTAG_E_RMNOTAVAILABLE (section 2.2.3.2.2)

  • XATMUSER_MTAG_E_RMPROTOCOL (section 2.2.3.2.4)

  • XATMUSER_MTAG_E_CONFIGLOGWRITEFAILED (section 2.2.3.3.1)

The XA Resource Manager Bridge MUST perform the following actions:

  • If the State of the Connection is set to Awaiting Open Response:

    • Remove the XA Resource Manager Proxy object referenced by the receiving Connection from the One-Pipe XA Resource Manager Proxy Table.

    • Signal the Disconnect Connection event using the receiving Connection as the argument.

    • Return failure to Register One-Pipe XA Resource Manager event.

  • Otherwise, the message MUST be processed as an invalid message as specified in section 3.1.6.