tibemsConnectionFactory

Type

Purpose

Administered object for creating server connections.

Remarks

Connection factories are administered objects. They support concurrent use.

Administrators define connection factories in a repository. Each connection factory has administrative parameters that guide the creation of server connections. Usage follows either of two models:

EMS Server

You can use the EMS server as a name service provider—one tibemsd process provides both the name repository and the message service. Administrators define factories in the name repository. Client programs create connection factory objects with the URL of the repository, and call tibemsConnectionFactory_CreateConnection. This function automatically accesses the corresponding factory in the repository, and uses it to create a connection to the message service.

Function Description
tibemsConnectionFactory_Create Create a connection factory.
tibemsConnectionFactory_CreateConnection Create a connection object.
tibemsConnectionFactory_CreateXAConnection Create an XA connection object.
tibemsConnectionFactory_Destroy Destroy a connection factory object.
tibemsConnectionFactory_GetSSLProxyHost Get the TLS proxy host from a connection factory.
tibemsConnectionFactory_GetSSLProxyPort Get the TLS proxy port from a connection factory.
tibemsConnectionFactory_GetSSLProxyUser Get the TLS proxy username from a connection factory.
tibemsConnectionFactory_GetSSLProxyPassword Get the TLS proxy password from a connection factory.
tibemsConnectionFactory_Print Print the parameters set in a connection factory object.
tibemsConnectionFactory_PrintToBuffer Print the parameters set in a connection factory object to a buffer.
tibemsConnectionFactory_SetClientID Set the client ID of a connection factory object.
tibemsConnectionFactory_SetConnectAttemptCount Modify the connection attempts setting.
tibemsConnectionFactory_SetConnectAttemptDelay Modify the connection delay setting.
tibemsConnectionFactory_SetConnectAttemptTimeout Modify the connection timeout setting.
tibemsConnectionFactory_SetMetric Modify the load balancing metric.
tibemsConnectionFactory_SetMulticastDaemon Set the port on which the client will connect to the multicast daemon.
tibemsConnectionFactory_SetMulticastEnabled Set whether message consumers subscribed to multicast-enabled topics will receive messages over multicast.
tibemsConnectionFactory_SetPkPassword Set the TLS private key password for the connection factory.
tibemsConnectionFactory_SetReconnectAttemptCount Modify the reconnection attempts setting.
tibemsConnectionFactory_SetReconnectAttemptDelay Modify the reconnection delay setting.
tibemsConnectionFactory_SetReconnectAttemptTimeout Modify the reconnection timeout setting.
tibemsConnectionFactory_SetServerURL Set the server URL.
tibemsConnectionFactory_SetSSLParams Set a connection factory’s default TLS parameters.
tibemsConnectionFactory_SetSSLProxy Set a connection factory’s parameters for connecting through a TLS proxy.
tibemsConnectionFactory_SetSSLProxyAuth Set a connection factory’s username and password for connecting through a TLS proxy.
tibemsConnectionFactory_SetUserName Set a connection factory’s username.
tibemsConnectionFactory_SetUserPassword Set the password used by the connection factory to authenticate itself with the EMS Server.
tibemsUFOConnectionFactory_Create Create an unshared state connection factory.
tibemsUFOConnectionFactory_CreateFromConnectionFactory Create an unshared state connection factory from a normal connection factory.
tibemsUFOConnectionFactory_RecoverConnection Recover an unshared state connection.

Administered Objects

Administered objects let administrators configure EMS behavior at the enterprise level. Administrators define these objects, and client programs use them. This arrangement relieves program developers and end users of the responsibility for correct configuration.