Java Message Service (JMS) Question:

What is the difference between topic and queue?

Tweet Share WhatsApp

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 PDF Read All 17 JMS Questions
Previous QuestionNext Question
What are the different messaging paradigms JMS supports?What is the use of Message object?