21-02-2012, 01:43 PM
JAVA MESSAGING SERVICE
[attachment=17622]
INTRODUCTION
JMS is a set of Java interfaces and associated semantics (APIs) that define how a JMS client accesses the facilities of a messaging system
Supports message production, distribution, delivery
Supported message delivery semantics
Two messaging models
Publish-Subscribe
Point-to-Point (reliable queue)
Request-Reply
JMS Models (Messaging Styles)
JMS Publish/Subscribe (destination is Topic)
It supports publishing messages to a particular message topic. Subscribers may register interest in receiving messages on a particular message topic.
Neither the publisher nor the subscriber know about each other.
Multiple consumers (or none) will receive the message
There is a timing dependency between publishers and subscribers.
JMS ELEMENTS
JMS provider
An implementation of the JMS interface for a Message Oriented Middleware (MOM).
JMS client
An application or process that produces and/or receives messages.
JMS producer/publisher
A JMS clients that creates and sends messages.
JMS consumer/subscriber
A JMS client that receives messages.