Publish / Subscribe Using Channels/Topics
The Universal Messaging C++ API provides publish subscribe functionality through the use of channel objects. Channels are the logical rendezvous point for publishers (producers) and subscribers (consumers) of data (events).
Universal Messaging DataStreams and DataGroups provide an alternative style of Publish/Subscribe where user subscriptions can be managed remotely on behalf of clients.
Under the publish / subscribe paradigm, each event is delivered to each subscriber once and only once per subscription, and is not removed from the channel after being consumed.
This section demonstrates how Universal Messaging pub / sub works, and provides example code snippets for all relevant concepts.