Universal Messaging 10.3 | Developer Guide | Enterprise APIs | Enterprise Developer's Guide for C++ | Code Examples for C++ | Publish / Subscribe using Channel Topics
 
Publish / Subscribe using Channel Topics
 
C++ Client: Channel Publisher
C++ Client: Transactional Channel Publisher
C++ Client: Asynchronous Channel Consumer
C++ Client: Synchronous Channel Consumer
C++ Client: Asynchronous Durable Channel Consumer
C++ Client: Synchronous Durable Channel Consumer
C++ Client: Event Delta Delivery
C++ Client: Batching Server Calls
C++ Client: Batching Subscribe Calls
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
Click here for a code example