Main Page | See live article | Alphabetical index

Java Message Service

The Java Message Service API is a Java Message Oriented Middleware API for sending messages between two or more clients. The API supports two models: The publish/subscribe model supports publishing messages to a particular message topic. Zero or more subscribers may register interest in receiving messages on a particular message topic. In this model, neither the publisher nor the subscriber know about each other.

In the point-to-point or queuing model,a producer posts messages to a particular queue and a consumer reads messages from the queue. Here the producer knows the destination of the message and posts the message directly to the consumer's queue.

External link