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 | Method and Description |
---|---|
CompletionListener |
JMSProducer.getAsync()
If subsequent calls to
send on this
JMSProducer object have been configured to be asynchronous
then this method returns the CompletionListener
that has previously been configured. |
Modifier and Type | Method and Description |
---|---|
void |
MessageProducer.send(Destination destination,
Message message,
CompletionListener completionListener)
Sends a message to a destination for an unidentified message producer,
using the
MessageProducer 's default delivery mode, priority,
and time to live, performing part of the work involved in sending the
message in a separate thread and notifying the specified
CompletionListener when the operation has completed. |
void |
MessageProducer.send(Destination destination,
Message message,
int deliveryMode,
int priority,
long timeToLive,
CompletionListener completionListener)
Sends a message to a destination for an unidentified message producer,
specifying delivery mode, priority and time to live, performing part of
the work involved in sending the message in a separate thread and
notifying the specified CompletionListener when the operation
has completed.
|
void |
MessageProducer.send(Message message,
CompletionListener completionListener)
Sends a message using the
MessageProducer 's default delivery
mode, priority, and time to live, performing part of the work involved in
sending the message in a separate thread and notifying the specified
CompletionListener when the operation has completed. |
void |
MessageProducer.send(Message message,
int deliveryMode,
int priority,
long timeToLive,
CompletionListener completionListener)
Sends a message, specifying delivery mode, priority and time to live,
performing part of the work involved in sending the message in a separate
thread and notifying the specified CompletionListener when the
operation has completed.
|
JMSProducer |
JMSProducer.setAsync(CompletionListener completionListener)
Specifies whether subsequent calls to
send on this
JMSProducer object should be synchronous or asynchronous. |
Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.