What is the difference between queue and topic ?



What is the difference between queue and topic ?..

Answer / munnu

A topic is typically used for one to many messaging , while queue is used for one-to-one messaging. Topic .e. it supports publish subscribe model of messaging where queue supports Point to Point Messaging.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More JMS Interview Questions

Why doesn’t the JMS API provide end-to-end synchronous message delivery and notification of delivery?

1 Answers  


What happens when jms queue is full?

0 Answers  


What are the steps to send and receive JMS message ?

0 Answers  


What is the diffrence between Java Mail and JMS Queue?

1 Answers  


Can you use a foreign jms provider to drive an mdb transactionally?

0 Answers  






How do I use a startup class to initialize and later reference jms objects?

0 Answers  


List types of Messaging services supported by JMS?

0 Answers  


What is jms queue in java?

0 Answers  


Which messaging is generally used in cases where a message is published by a producer and consumed by multiple subscribers?

0 Answers  


Explain how does the JMS work with the J2EE?

0 Answers  


How many types of messaging model do JMS provide for and what are they?

0 Answers  


What is a text message?

0 Answers  


Categories