What is the difference between Point to Point and Publish/Subscribe
Point-to-point (P2P)
Answer Posted / munnu
In point-to-point, messages are sent via queues. Messages are put onto the queues by the message producers (the clients). The message consumer is responsible for pulling the message from the queue. Point-to-point is typically used when a given message must be processed (received) only once by a given consumer. In this way, there is only one consumer of the given message.
Publish-and-subscribe (pub/sub)
In publish-and-subscribe, messages are sent through topics. Messages are published to topics by the message producers. The messages may be received by any consumers that subscribe to the given topic. In this way, a message may be received, or processed, by multiple consumers.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How you can deliver a java message to a non-java client?
What is jms correlation id?
What is the number of messaging models available on jms?
What is the use of message queues?
What is meant by jms?
What is difference between jms and activemq?
Is jmstemplate thread safe?
Is rabbitmq a jms?
Detail about the features of publish model?
Can a jms queue have multiple listeners?
What is a topic string?
Can we send message from one server to another server using jms?
What happens when jms queue is full?
What is the functionality of a jms message selector?
What is a JMS client?