Jump to content

Jakarta Messaging

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 24.44.205.253 (talk) at 15:17, 30 October 2004 (JMS Providers). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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:

  • publish/subscribe model
  • point-to-point or queuing model

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.

JMS Providers

In order to use JMS, you must have a JMS provider that can manages the sessions and queues. There are open source as well as proprietary providers, including:

GigaSpaces