Nirvana Java - Publish / Subscribe
Nirvana provides publish subscribe functionality through the use of channel objects. Channels are the logical rendezvous point for publishers (producers) and subscribers (consumers) or data (events).
Nirvana Channels are essentially Topics if you are using the Nirvana JMS implementation.
Publish / Subscribe using channels differs from message queues in the way that events are delivered to consumers. 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 Nirvana pub / sub works in Java, and provides example code snippets for all relevant concepts:
Publish/Subscribe Tasks
- Creating a Session
- Creating a Channel
- Finding a Channel
- Event Publishing
- Publishing an XML Dom
- Asynchronous Consumer
- Synchronous Consumer (Channel Iterator)
- Durable Consumers and Named Objects
- Event Delta Delivery
Learn More
- Channel Attributes
- Nirvana Events
- Nirvana Event Dictionaries
- Channel Publish Keys
- Channel Joins
- Filtering
