what is topic and what is queue ?

Answer Posted / yogi_spysr

Topic>>> is a object which is used to get the producer on a
destination,, and we publish a msg and send it to that
destination,,,
so if we have many listeners to our msg then the msg will
be recieved by all recievers
:::: means it is a Kind of Publisher-Subscriber relation
one publisher and many subscriber


on the right hand we have
Queue >>>
is a object which link us to a queue
since in a queue of msgs and a msg will remain in queue
until it is recieved by the particular reciever who is
supposed to get it

its something like

MESSAGE --->> |Message Queue|--->> Destination

if msg is retrived then it is deleted

simply
when ::::Queue think of Mobile SMS service
topic think of Airtel SetUP Box

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Mention different types of messages available in JMS API?

466


How does a sender application transport/send a message through jms?

478


Why do we use message queue?

471


What is a text message?

500


What is a jms server?

441






What is publish/subscribe messaging?

483


What is JMS administered object?

544


Explain about publish model?

527


What is jms consumer?

495


What is jms endpoint?

478


What is jms connection factory?

462


What is hermes software?

520


What is hermes jms?

462


Which messaging modes are included in the java messaging service jms )?

456


Explain the creation of JMS Administered objects?

492