what is topic and what is queue ?

Answer Posted / sachin

JMS Topic is a JMS managed object used to manage message
comminucation between publisher ( sender of message) and
subscriber ( receiver of message).

Queue is JMS managed object used for holding messages
waiting for subscribers to consume. When all subscribers
consumed the message , message will be removed from queue.

To put an anology with email system consider all emails
with subject 'Offers from Tesco Stores'. This subject is
called topic. If there are multiple messages of same
subject headings, it will be called as queue, waiting to be
read.

Is This Answer Correct ?    7 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is jms module in weblogic?

448


Explain about JMS queue?

533


What is asynchronous messaging?

507


What is jms message broker?

458


Wat is jms client?

526






How the jms is different from rpc?

475


What is ems queue?

477


In which situations we are using jms?

496


What is the main parts of jms applications?

485


Is ibm mq jms compliant?

428


What is hermes software?

518


What is jms in websphere?

470


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

449


What is the jms client?

514


What is jms in java?

447