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 | Update Connection Factories
 
Update Connection Factories
Updates a JNDI connection factory for a Universal Messaging server instance. You can update the name, url, and durableType parameters for a connection factory. You cannot update the type of the connection factory.
Syntax
sagcc update configuration data nodeAlias Universal-Messaging-instanceName
UM-JNDI-CF-connectionFactoryName {--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 update a JNDI connection factory.
UM-JNDI-CF-connectionFactoryName
Required. The ID of the connection factory that you want to update.
--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 update the connection factory with name "connectionFactory1" 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 update configuration data sag01 Universal-Messaging-umserver
UM-JNDI-CF-connectionFactory1 -i C:\jndi\connecton_factory.xml
The XML file contains the following parameters:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<connectionFactory>
<name>connectionFactory2</name>
<type>ConnectionFactory</type>
<url>nhp://124.597.890:9100</url>
<durableType>Serial</durableType>
</connectionFactory>