Java Message Service (JMS) Question:

Download Job Interview Questions and Answers PDF

What is the difference between topic and queue?

JMS Interview Question
JMS Interview Question

Answer:

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?