Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What are the basic advantages of jms?

819


Give an example of using the publish/subscribe model.

807


How may messaging models do JMS provide for and what are they?

1326


What is jms correlation id?

808


What is the advantage of persistent message delivery compared to nonpersistent delivery?

772


Is kafka a jms?

788


How to Set message priority levels?

1403


How do I handle request/response using jms?

797


What is a jms connection?

799


Explain JMS and its Component?

872


What are the three parts of the message?

863


How to send xml message to jms queue using java?

818


What is jms queue?

788


Does weblogic jms support clustering?

787


What is a message in software?

869