Menu Search

5.7. Destinations

A Destination is either a Queue or Topic. In the Client a Destination encapsulates a Binding URL. In simple terms, the Binding URL comprises of an exchange, queue and a routing key. Binding URLs are described fully by Chapter 8, Binding URL.

In many cases, applications do not need to deal directly with Binding URLs, instead they can refer to JMS administered objects declared in the JNDI properties file with the queue. and topic. prefix to create Queues and Topics objects respectively.