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)



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

Post New Answer

More JMS Interview Questions

Does weblogic jms support clustering?

0 Answers  


What are the different parts of a jms message?

0 Answers  


What is JMS Client?

1 Answers  


What is jms in spring?

0 Answers  


What is a topic string?

0 Answers  


Wat is jms client?

0 Answers  


What is the use of connection factory in jms?

0 Answers  


Why is my jms work not part of a user transaction (i.e., Called within a transaction but not rolled back appropriately)? How do I track down transaction problems?

0 Answers  


What is subdeployment in weblogic jms?

0 Answers  


Mention different types of messages available in JMS API?

0 Answers  


What is the functionality of the oracle glassfish server? What added advantage it has on top of apache tomcat server?

0 Answers  


What is the use of message queues?

0 Answers  


Categories