Java Client: Export a realm to XML

This example demonstrates how to export a realm's cluster, joins, security, channels / queues, scheduling, interfaces / plugins, configuration information and JNDI assets to an XML file so that it can be imported into any other realm (see Java Client: Import a realm's configuration information).

Usage

nexportrealmxml [export_file_location]

<Optional Arguments> 
    -all -realms -cluster -realmacl -realmcfg -channels -jndi 
    -channelfilter=<filter> -channeacls -datagroups -datagroupfilter=<filter>
    -joins -queues -queuefilter=<filter> -queueacls -interfaces -plugins -via


Note: -? provides help on environment variables

Application Source Code

Click here for a code example