What is the difference between Point to Point and Publish/Subscribe
Point-to-point (P2P)
Answer / 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 |
How the jms is different from rpc?
Why do we use message queue?
What is difference between queue and topic in jms?
What is the difference between Jms and Jvt ?
What is Map message?
What is MOM in reference to JMS?
Describe the concept of message driven bean clustering.
How JMS is different from RPC?
What are the core JMS-related objects required for each JMS-enabled application?
Explain the creation of JMS Administered objects?
What is the functionality of jms message consumers?
Can two different jms services talk to each other? For instance, if a and b are two different jms providers, can provider a send messages directly to provider b? If not, then can a subscriber to provider a act as a publisher to provider b?