Nirvana Java - Publish / Subscribe Using Channels/Topics
Publish / Subscribe is one of several messaging paradigms available in Nirvana. Nirvana Channels are a logical rendezvous point for publishers (producers) and subscribers (consumers) or data (events).
Nirvana DataStreams and DataGroups provide an alternative style of Publish/Subscribe where user subscriptions can be managed remotely on behalf of clients.
Nirvana Channels equate to Topics if you are using the Nirvana JMS implementation.
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 Nirvana pub / sub works in Java, and provides example code snippets for all relevant concepts:
Publish/Subscribe Tasks for Channels/Topics
- Creating a Session
- Creating a Channel
- Finding a Channel
- Event Publishing
- Publishing an XML Dom
- Asynchronous Consumer
- Synchronous Consumer (Channel Iterator)
- Batched Subscribe
- Batched Find
- Durable Consumers and Named Objects
- Large Events and Fragmentation
- Event Delta Delivery
Learn More
- Messaging Paradigms
- Channel Attributes
- Nirvana Events
- Nirvana Event Dictionaries
- Channel Publish Keys
- Channel Joins
- Filtering
