JMS Overview:
1. Java message service (JMS) is a Java framework specification
for messaging between applications.
2. The Java framework
specification was developed to provide equal messaging interface among
enterprise applications.
3. Using a message service allows you to integrate the
applications within an enterprise.
4. TIBCO Enterprise Message Service implements JMS and integrates
support for connecting other message services, like TIBCO Rendezvous and TIBCO
SmartSockets.
JMS Message Models:
1 - Point to Point (Queues)
2 - Publish and Subscribe (Topics)
3 – Multicast (Topics)
1- Point to Point (Queues):
- It has only one producer and only one consumer per message.
- The message producer sends message to the EMS queue, the message consumer retrieves the message from the EMS queue and sends acknowledgement that the message was received.
- More than one producer can send messages to the same queue and more than one consumer can retrieve messages from the same queue.
- If the queue is configured with exclusive then all the messages will be retrieved by the first consumer of that queue. By default the queue property is no – exclusive.
- Exclusive queues are useful only, if you want to send messages to only one application.
No comments:
Post a Comment