This implicit type is not defined; instead it is identical to tibemsConnection on page 202. The functions we present on the following pages apply only to connection objects used with XA.tibems_status tibemsXAConnection_Close(tibemsConnection connection );
connection has usage pointer.
Closing an XA connection reclaims all XA resources associated with the connection or its sessions.Closing the connection is not sufficient to reclaim all of its resources; your program must explicitly close the sessions, producers, and consumers associated with the connection.If any message listener or receive call associated with the connection is processing a message when the program calls this function, all facilities of the connection and its sessions remain available to those listeners until they return. In the meantime, this function blocks until that processing completes—that is, until all message listeners and receive calls have returned.Closing a connection does not force acknowledgment in client-acknowledged sessions. When the program still has a message that it received from a connection that has since closed, tibemsMsg_Acknowledge returns the status code TIBEMS_ILLEGAL_STATE.Closing a connection rolls back all open transactions in all sessions associated with the connection.tibems_status tibemsXAConnection_Create(tibemsConnection* connection,tibems_status tibemsXAConnection_CreateSSL(tibemsConnection* connection,tibemsSSLParams sslParams,USING BY REFERENCE connection,USING BY REFERENCE connection,BY VALUE sslParams,
connection and sslParams have usage pointer.
Find the EMS server at this URL. If configuring a fault-tolerant client, enter two of more URLs, as described in Configuring C and COBOL Clients for Fault-Tolerant Connections.
● The call could not communicate with a server because of mismatched SSL and TCP protocols.
● The server rejected the connection because the username or password was invalid. The client ID is not unique; that is, another client already uses the ID.tibems_status tibemsXAConnection_CreateXASession(tibemsConnection connection,tibemsSession* session );USING BY VALUE connection,BY REFERENCE session,
connection and session have usage pointer.
The new session has transactional semantics with an external transaction manager, and uses the connection for all server communications.
tibems_status tibemsXAConnection_Get(tibemsConnection* connection,USING BY REFERENCE connection,
connection has usage pointer.
Find the connection the EMS server at this URL. If configuring a fault-tolerant client, enter two of more URLs, as described in Configuring C and COBOL Clients for Fault-Tolerant Connections.If the TM has implicitly created a connection by calling xa_open, then the TM can get that connection object with this call.tibems_status tibemsXAConnection_GetXASession(tibemsConnection* connection,tibemsSession* xaSession );USING BY VALUE connection,BY REFERENCE xaSession,
connection and xaSession have usage pointer.
If the TM has implicitly created a session by calling xa_open, then the TM can get that session object with this call.
Copyright © TIBCO Software Inc. All Rights Reserved.