Example usage for Java javax.jms MessageProducer fields, constructors, methods, implement or subclass
The text is from its open source code.
void | close() Closes the message producer. |
int | getDeliveryMode() Gets the producer's default delivery mode. |
Destination | getDestination() Gets the destination associated with this MessageProducer . |
int | getPriority() Gets the producer's default priority. |
long | getTimeToLive() Gets the default length of time in milliseconds from its dispatch time that a produced message should be retained by the message system. |
void | send(Message message) Sends a message using the MessageProducer 's default delivery mode, priority, and time to live. |
void | send(Destination destination, Message message) Sends a message to a destination for an unidentified message producer using the MessageProducer 's default delivery mode, priority, and time to live. |
void | 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 | send(Message message, int deliveryMode, int priority, long timeToLive) Sends a message, specifying delivery mode, priority, and time to live. |
void | send(Destination destination, Message message, int deliveryMode, int priority, long timeToLive) Sends a message to a destination for an unidentified message producer, specifying delivery mode, priority and time to live. |
void | 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. |
void | setDeliveryDelay(long deliveryDelay) Sets the minimum length of time in milliseconds that must elapse after a message is sent before the JMS provider may deliver the message to a consumer. |
void | setDeliveryMode(int deliveryMode) Sets the producer's default delivery mode. |
void | setDisableMessageID(boolean value) Specify whether message IDs may be disabled. |
void | setDisableMessageTimestamp(boolean value) Specify whether message timestamps may be disabled. |
void | setPriority(int defaultPriority) Sets the producer's default priority. |
void | setTimeToLive(long timeToLive) Sets the default length of time in milliseconds from its dispatch time that a produced message should be retained by the message system. |