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.

Separate JNDI Repository

Administrators define factories in a JNDI repository. Client programs call tibemsLookupContext_Lookup to retrieve factories, and use them to create connections to the server.

(Sheet 1 of 3)

Function
Description
Page
273
274
275
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
293
294

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.

Related Types

tibemsQueueConnectionFactory

tibemsTopicConnectionFactory

See Also

tibemsLookupContext


TIBCO Enterprise Message Service™ C and COBOL Reference
System Release 4.3, February 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com