Package | Description |
---|---|
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.
|
Modifier and Type | Interface and Description |
---|---|
interface |
TemporaryQueue
A
TemporaryQueue object is a unique Queue object
created for the duration of a Connection . |
Modifier and Type | Method and Description |
---|---|
Queue |
Session.createQueue(String queueName)
Creates a
Queue object which encapsulates a specified
provider-specific queue name. |
Queue |
QueueSession.createQueue(String queueName)
Creates a queue identity given a
Queue name. |
Queue |
JMSContext.createQueue(String queueName)
Creates a
Queue object which encapsulates a specified
provider-specific 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.
|
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 |
JMSContext.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. |
QueueBrowser |
JMSContext.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.
|
Constructor and Description |
---|
QueueRequestor(QueueSession session,
Queue queue)
Constructor for the
QueueRequestor class. |
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.