This is archived documentation for an older version of Nirvana (v2.0). Please refer to documentation for the latest version if required.

Create a copy of a Nirvana channel

This example (nCopyChannel.Java) creates a copy of a Nirvana channel.

Java -DRNAME=someRNAME -DFROMCHANNEL=channelName com.pcbsys.Nirvana.nAdminAPI.apps.nCopyChannel details=space separated args

where :

RNAME is the realm name of the Nirvana server. (e.g. nsp://localhost:9000 ).
FROMCHANNEL is the name of the channel to copy
details : is the arguments passed to the program. These are;
-r RNAME of the realm to create the new channel on
-n the name of the channel to create as a copy
-a is the TTL of the new channel
-c is the capacity of the new channel
-t is the channel type of the new channel. This can be one of P/R/M/S (persistent,reliable,mixed,simple)