Java Client: XML Channel Publisher
This example publishes XML events onto a Universal Messaging Channel
Usage
nxmlpub <channel name> <xml file> [count] [size]
<Required Arguments>
<channel name> - Channel name parameter for the channel to publish to
<xml file> - The full path of the xml file to publish
[Optional Arguments]
[count] -The number of events to publish (default: 10)
Note: -? provides help on environment variables
Application Source Code