⟩ What is queue and what is topic?
There are two types of JMS Messaging systems. They are
1. Point to Point Messaging
2. Publish Subscribe Messaging
Queue: A queue is a temperory storage of a message used
when working with Point 2 Point Messaging
Topic: A topic is also a temperory storage of a message
used when working with Publish Subscribe Messaging
In Queues, they are connected directly to another queue to
transfer the messages.
In Topics, the subscribers need to subscribe to the topics
to pick up the messages published by the publishers.