Destinations
Destinations are the objects that a client uses to specify the target of messages it produces and the source of messages it consumes. These objects specify the identity of a destination to a JMS API method. There are four types of destinations; only the first two (queues and topics) are administered objects:
Queue. A queue object covers a provider-specific queue name and is how a client specifies the identity of a queue to JMS methods.
Topic. A topic object covers a provider-specific topic name and is how a client specifies the identity of a topic to JMS methods.
TemporaryQueue. A queue object created for the duration of a particular connection (or
QueueConnection). It can only be consumed by the connection from which it was created.
TemporaryTopic. A topic object that is created for the duration of a particular connection (or
TopicConnection). It can only be consumed by the connection from which it was created.