Universal Messaging 10.11 | Developer Guide | Enterprise APIs | Enterprise Developer's Guide for Java | Message Queues
 
Message Queues
 
Creating a Queue
Finding a Queue
Queue Publish
Asynchronous Queue Consuming
Synchronous Queue Consuming
Asynchronous Transactional Queue Consuming
Synchronous Transactional Queue Consuming
Queue Browsing / Peeking
Request Response
Message queues are one of several messaging paradigms supported by Universal Messaging.
Universal Messaging provides message queue functionality through the use of queue objects. Queues are the logical rendezvous point for publishers (producers) and subscribers (consumers) or data (events).
Message queues differ from publish / subscribe channels in the way that events are delivered to consumers. Whilst queues may have multiple consumers, each event is typically only delivered to one consumer, and once consumed (popped) it is removed from the queue.
Universal Messaging also supports non destructive reads (peeks) from queues which enable consumers to see what events are on a queue without removing it from the queue. Any event which has been peeked will still be queued for popping in the normal way. The Universal Messaging enterprise manager also supports the ability to visually peek a queue using it s snoop capability.
This section demonstrates how Universal Messaging message queues work in Java, and provide examples code snippets for all relevant concepts: