Universal Messaging 9.10 | Universal Messaging Developer Guide | Enterprise APIs | Enterprise Developer's Guide for Java | Code Examples | Administration API | Java Client: Import a realm's configuration information
 
Java Client: Import a realm's configuration information
This example demonstrates how to import a realm's cluster, joins, security, channels / queues, scheduling, interfaces / plugins, configuration information and JNDI assets from an XML file that was previously created by exporting a realm (see Java Client: Export a realm to XML).
Important: Importing a configuration that contains clustered transient channels and queues will fail because transient channels and queues are not supported in a cluster. To resolve this situation, you can change the value of the type attribute of each channel or queue in the XML file for import from TRANSIENT_TYPE to MIXED_TYPE.
Usage
nimportrealmxml file_name

<Optional Arguments>
-all -realmacl -realmcfg -channels -jndi -channelfilter=<filter>
-channelacls -queues -queuefilter=<filter> -queueacls -interfaces
-datagroups -datagroupfilter=<filter>


Note: -? provides help on environment variables
Application Source Code
Click here for a code example

Copyright © 2013-2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.