## Uses of Interface
javax.jms.Queue

Packages that use Queue
Package | Description
--- | ---
com.sun.messaging | Provides the Oracle GlassFish(tm) Server Message Queue public classes.
javax.jms | The Java Message Service (JMS) API provides a common way for Java programs to create, send, receive and read an enterprise messaging system's messages.

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

Classes in com.sun.messaging that implement Queue
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` | `Queue` A `Queue` represents an identity of a repository of messages used in the JMS Point-To-Point messaging domain.

### Uses of Queue in javax.jms

Subinterfaces of Queue in javax.jms
Modifier and Type | Interface and Description
--- | ---
`interface` | `TemporaryQueue` A `TemporaryQueue` object is a unique `Queue` object created for the duration of a `Connection`.

Methods in javax.jms that return Queue
Modifier and Type | Method and Description
--- | ---
`Queue` | Session.`createQueue(String queueName)` Creates a queue identity given a `Queue` name.
`Queue` | QueueSession.`createQueue(String queueName)` Creates a queue identity given a `Queue` name.
`Queue` | QueueSender.`getQueue()` Gets the queue associated with this `QueueSender`.
`Queue` | QueueReceiver.`getQueue()` Gets the `Queue` associated with this queue receiver.
`Queue` | QueueBrowser.`getQueue()` Gets the queue associated with this queue browser.

Methods in javax.jms with parameters of type Queue
Modifier and Type | Method and Description
--- | ---
`QueueBrowser` | Session.`createBrowser(Queue queue)` Creates a `QueueBrowser` object to peek at the messages on the specified queue.
`QueueBrowser` | QueueSession.`createBrowser(Queue queue)` Creates a `QueueBrowser` object to peek at the messages on the specified queue.
`QueueBrowser` | Session.`createBrowser(Queue queue, String messageSelector)` Creates a `QueueBrowser` object to peek at the messages on the specified queue using a message selector.
`QueueBrowser` | QueueSession.`createBrowser(Queue queue, String messageSelector)` Creates a `QueueBrowser` object to peek at the messages on the specified queue using a message selector.
`ConnectionConsumer` | QueueConnection.`createConnectionConsumer(Queue queue, String messageSelector, ServerSessionPool sessionPool, int maxMessages)` Creates a connection consumer for this connection (optional operation).
`QueueReceiver` | QueueSession.`createReceiver(Queue queue)` Creates a `QueueReceiver` object to receive messages from the specified queue.
`QueueReceiver` | QueueSession.`createReceiver(Queue queue, String messageSelector)` Creates a `QueueReceiver` object to receive messages from the specified queue using a message selector.
`QueueSender` | QueueSession.`createSender(Queue queue)` Creates a `QueueSender` object to send messages to the specified queue.
`void` | QueueSender.`send(Queue queue, Message message)` Sends a message to a queue for an unidentified message producer.
`void` | QueueSender.`send(Queue queue, Message message, int deliveryMode, int priority, long timeToLive)` Sends a message to a queue for an unidentified message producer, specifying delivery mode, priority and time to live.

Constructors in javax.jms with parameters of type Queue
Constructor and Description
`QueueRequestor(QueueSession session, Queue queue)` Constructor for the `QueueRequestor` class.