Universal Messaging 10.5 | Developer Guide | Enterprise APIs | Enterprise Developer's Guide for C# | Examples | Publish / Subscribe using Channel Topics
 
Publish / Subscribe using Channel Topics
 
Publish / Subscribe
Channel Publisher
Transactional Channel Publisher
Asynchronous Channel Consumer
Synchronous Channel Consumer
C# Client: Asynchronous Durable Channel Consumer
C# Client: Synchronous Durable Channel Consumer
Batching Server Calls
Batching Subscribe Calls
Publish / Subscribe
Publish / Subscribe is one of several messaging paradigms available in Universal Messaging. Universal Messaging Channels are a logical rendezvous point for publishers (producers) and subscribers (consumers) or data (events).
Universal Messaging Data Streams and Data Groups provide an alternative style of Publish/Subscribe where user subscriptions can be managed remotely on behalf of clients.
Universal Messaging Channels equate to Topics if you are using the Universal Messaging Provider for JMS.
Under the publish / subscribe paradigm, each event is delivered to each subscriber once and only once per subscription, and is not typically removed from the channel as a result of the message being consumed by an individual client.
This section demonstrates how Universal Messaging pub / sub works in C#, and provides example code snippets for all relevant concepts: