Package | Description |
---|---|
javax.jms |
The Jakarta Messaging API provides a common way for Java programs to create, send, receive and read an enterprise messaging system's messages.
|
org.apache.activemq.artemis.jms.client |
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. |
Modifier and Type | Method and Description |
---|---|
CompletionListener |
ActiveMQJMSProducer.getAsync() |
Modifier and Type | Method and Description |
---|---|
void |
ActiveMQMessageProducer.send(Destination destination,
Message message,
CompletionListener completionListener) |
void |
ActiveMQMessageProducer.send(Destination destination,
Message message,
int deliveryMode,
int priority,
long timeToLive,
CompletionListener completionListener) |
void |
ActiveMQMessageProducer.send(Message message,
CompletionListener completionListener) |
void |
ActiveMQMessageProducer.send(Message message,
int deliveryMode,
int priority,
long timeToLive,
CompletionListener completionListener) |
JMSProducer |
ActiveMQJMSProducer.setAsync(CompletionListener completionListener) |
Copyright © 2020 JBoss by Red Hat. All rights reserved.