In JMS, what is Point-to-Point Messaging?

In JMS, what is Point-to-Point Messaging?

Ninja Asked on 19th September 2018 in JMS.
Add Comment
1 Answer(s)
Best answer

A point-to-point (PTP) product or application is built on the concept of message queues, senders, and receivers. Each message is addressed to a specific queue, and receiving clients extract messages from the queues established to hold their messages. Queues retain all messages sent to them until the messages are consumed or expire.

PTP messaging has the following characteristics:

  • Each message has only one consumer.
  • A sender and a receiver of a message have no timing dependencies. The receiver can fetch the message whether or not it was running when the client sent the message.
  • The receiver acknowledges the successful processing of a message.

Use PTP messaging when every message you send must be processed successfully by one consumer

Ninja Answered on 19th September 2018.
Add Comment