TIBCO EMS STEP -2
Ø JMS supports these
messaging models:
o Point-to-Point (queues)
o Publish and Subscribe
(topics)
o Multicast (topics)
Ø Point-to-point messaging has one
producer and one consumer per message. This style of messaging uses a queue to
store messages until they are received. The message producer sends the message
to the queue; the message consumer retrieves messages from the queue and sends acknowledgement
that the message was received.
Ø Exclusive queues are
useful when you want only one application to receive messages for a specific
queue.
Ø Non-exclusive queues
are useful for balancing the load of incoming messages across multiple
receivers. Regardless of whether the queue is exclusive or not, only one
consumer can ever consume each message that is placed on the queue.
Ø Above pic
point-to-point messaging using a non-exclusive queue. Each message consumer
receives a message from the queue and acknowledges receipt of the message. The
message is taken off the queue so that no other consumer can receive it.
Comments
Post a Comment