Java Message Service (JMS) Question:
What is the difference between topic and queue?
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.
Previous Question | Next Question |
What are the different messaging paradigms JMS supports? | What is the use of Message object? |