Message Queue, v4.4 API Specification

## Uses of Interface
javax.jms.Queue

Packages that use Queue
com.sun.messaging: Provides the Sun GlassFish(tm) 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
`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
`interface` `TemporaryQueue` A `TemporaryQueue` object is a unique `Queue` object created for the duration of a `Connection`.

Methods in javax.jms that return Queue
`Queue` `Session.createQueue(java.lang.String queueName)` Creates a queue identity given a `Queue` name.
`Queue` `QueueSession.createQueue(java.lang.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
`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, java.lang.String messageSelector)` Creates a `QueueBrowser` object to peek at the messages on the specified queue using a message selector.
`QueueBrowser` `QueueSession.createBrowser(Queue queue, java.lang.String messageSelector)` Creates a `QueueBrowser` object to peek at the messages on the specified queue using a message selector.
`ConnectionConsumer` `QueueConnection.createConnectionConsumer(Queue queue, java.lang.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, java.lang.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
`QueueRequestor(QueueSession session, Queue queue)` Constructor for the `QueueRequestor` class.

Message Queue, v4.4 API Specification

Copyright 2009 Sun Microsystems, Inc.
4150 Network Circle, Santa Clara, CA 95054, U.S.A. All Rights Reserved.