Sun Java System Message Queue 4.3 Developer's Guide for C Clients


The MQGetXAConnection function passes back a handle to an XA connection. This should only be called when the Message Queue C-API is used in a X/Open distributed transaction processing environment with Message Queue as an XA-compliant resource manager.

MQGetXAConnection(MQConnectionHandle * connectionHandle);

Return Value

MQStatus. See the MQStatusIsError() function for more information.



A handle to an XA connection.

MQCloseConnection should not be called on an XA connection handle.

Common Errors