Universal Messaging 10.3 | Developer Guide | Web Client APIs | Web Developer's Guide for Javascript | Web Client Development in JavaScript | Publish/Subscribe Tasks
Publish/Subscribe Tasks
Overview of using Publish/Subscribe
Using a Universal Messaging Channel
Subscribing to a Channel
Publishing Events to a Channel
Transactional Publish
DataStream - Receiving DataGroup Events
Overview of using Publish/Subscribe
The Universal Messaging JavaScript 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).
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.