Java Message Service (JMS) Question:
Download Questions PDF

What is the difference between topic and queue?


A topic is typically used for one to many messaging i.e. it supports publish subscribe model of messaging. While queue is used for one-to-one messaging i.e. it supports Point to Point Messaging.

Download JMS Interview Questions And Answers PDF

Previous QuestionNext Question
What are the different messaging paradigms JMS supports?What is the use of Message object?