Publish / Subscribe using Channel Topics
C++ Client: Channel Publisher
This example publishes events onto a Universal Messaging Channel.
Usage
publish <rname> <channel name> [count] [size]
<Required Arguments>
<rname> - the custom URL to access the realm. Example: nhp://localhost:9000
<channel name> - Channel name parameter for the channel to publish to
[Optional Arguments]
[count] -The number of events to publish (default: 10)
[size] - The size (bytes) of the event to publish (default: 100)
Application Source Code