Universal Messaging 10.11 | Administration Guide | Using Command Central to Manage Universal Messaging | Using the Command Line to Manage Universal Messaging | JNDI Connection Factories Configuration | Create Connection Factories
 
Create Connection Factories
Creates a JNDI connection factory for a Universal Messaging server instance. You can create the following types of connection factory:
*Connection factory
*Topic connection factory
*Queue connection factory
*XA connection factory
Syntax
sagcc create configuration data nodeAlias Universal-Messaging-instanceName
UM-JNDI-CF {--input|-i} file.xml
Arguments and Options
nodeAlias
Required. The alias name of the installation in which the Universal Messaging server instance is installed.
Universal-Messaging-instanceName
Required. The ID of the Universal Messaging server instance for which you want to create a JNDI connection factory.
UM-JNDI-CF
Required. The ID of the configuration type of which you want to create an instance.
--input|-i file.xml
Required. The absolute path to the XML file that contains configuration information about the connection factory.
Usage Notes
*The input XML file must contain configuration parameters in the following format:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<connectionFactory>
<name>connection_factory_name</name>
<type>connection_factory_type</type>
<url>connection_factory_binding_url</url>
<durableType>type_of_durable</durableType>
</connectionFactory>
The name, type, and url parameters are required. The durableType parameter is optional.
*Creating a JNDI connection factory and JNDI destination with the same name is not allowed for a Universal Messaging server instance.
Examples
To create a connection factory for the server instance with ID "Universal-Messaging-umserver" that is installed in the installation with alias name "sag01", using the "connection_factory.xml" file:
sagcc create configuration data sag01 Universal-Messaging-umserver
UM-JNDI-CF -i C:\jndi\connecton_factory.xml
The XML file contains the following parameters:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<connectionFactory>
<name>connectionFactory1</name>
<type>ConnectionFactory</type>
<url>nhp://124.597.890:9100</url>
<durableType>Shared</durableType>
</connectionFactory>