Chapter 9. Messaging Using JMS

The Java Message Service (JMS) provides APIs for point-to-point and publish-subscribe messaging. In point-to-point messaging, each message has a single consumer. The message queue is the heart of point-to-point messaging—producers place messages on a queue and the queue’s consumer retrieves messages. Although there may be multiple consumers retrieving messages from the queue, each message has only a single consumer.

In publish-subscribe messaging, multiple producers broadcast messages to multiple consumers. A topic is the publish-subscribe equivalent of a message queue. Consumers listen on a particular topic and producers send messages to ...

Get BEA WebLogic Workshop™ Kick Start now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.