## Uses of Class
com.sun.messaging.Destination

Packages that use Destination
Package | Description
--- | ---
com.sun.messaging | Provides the Oracle GlassFish(tm) Server Message Queue public classes.
com.sun.messaging.jms | Provides additional Oracle GlassFish(tm) Server Message Queue classes for features that relate to the MQ implementation of the Java Message Service (JMS).
com.sun.messaging.jms.notification | Provides a notification API for the MQ client runtime to inform an application about a MQ connection state changes.

### Uses of Destination in com.sun.messaging

Subclasses of Destination in com.sun.messaging
Modifier and Type | Class and Description
--- | ---
`class` | `BasicQueue` A `BasicQueue` represents an identity of a repository of messages used in the JMS Point-To-Point messaging domain.
`class` | `BasicTopic` A `BasicTopic` represents an identity of a repository of messages used in the JMS Publish/Subscribe messaging domain.
`class` | `Queue` A `Queue` represents an identity of a repository of messages used in the JMS Point-To-Point messaging domain.
`class` | `Topic` A `Topic` represents an identity of a repository of messages used in the JMS Publish/Subscribe messaging domain.

### Uses of Destination in com.sun.messaging.jms

Methods in com.sun.messaging.jms with parameters of type Destination
Modifier and Type | Method and Description
--- | ---
`void` | Connection.`removeConsumerEventListener(Destination dest)` Remove a MQ consumer event listener from the current connection.
`void` | Connection.`setConsumerEventListener(Destination dest, EventListener listener)` Set consumer event listener on a destination to the current connection.

### Uses of Destination in com.sun.messaging.jms.notification

Methods in com.sun.messaging.jms.notification that return Destination
Modifier and Type | Method and Description
--- | ---
`Destination` | ConsumerEvent.`getDestination()` Get the registered destination on which the event was occurred.

Constructors in com.sun.messaging.jms.notification with parameters of type Destination
Constructor and Description
`ConsumerEvent(Destination dest, Connection conn, String evCode, String evMessage)` Construct a MQ consumer event.