Universal Messaging Java Client: Copy a channel and its events
This example demonstrates how to copy a channel and its events from one location to another.
Usage
nadmincopychan <channel> [-r toRealm] [-n toChannelName] [-a channel ttl] [-c channel capacity] [-t channel type]
<Required Arguments>
<channel> - Channel name parameter for the channel to copy
[Optional Arguments]
<-r toRealm> - The RNAME of a remote realm to copy the channel to
<-n toChannelName> - The name you wish to give the copied channel
<-a channel ttl> - The ttl you wish to give the copied channel
<-c channel capacity> - The capacity you wish to give the copied channel
<-t channel type> - The channel you wish the copied channel to be any of (P | R | M | S | T)
Note: -? provides help on environment variables
Application Source Code