TIBCO Enterprise Message Service 4.3.0 .NET Administration Class Library

Admin.CreateConnectionFactory Method 

Create a connection factory based on the given ConnectionFactoryInfo and bind it to the given name in the internal JNDI implementation.

public void CreateConnectionFactory(
   string jndiName,
   ConnectionFactoryInfo cfi
);

Parameters

jndiName
The JNDI name to which the new factory will be bound.
cfi
The info for the factory to create.

Exceptions

Exception Type Condition
AdminException if not authorized or an error occurred.
AdminInvalidNameException if the JNDI name is not legal.
ArgumentException if ConnectionFactoryInfo object is null.
AdminNameExistsException if the JNDI name is already in use.

See Also

Admin Class | TIBCO.EMS.ADMIN Namespace