Import a realm's configuration information
This example demonstrates how to import a realm's cluster, joins, security, channels / queues, scheduling, interfaces / plugins and configuration information from an XML file.
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 <rname> <file_name>
<Optional Arguments> -all -realmacl -realmcfg -channels -channeacls -queues
-queueacls -interfaces
Application Source Code