Java javax.jms MessageProducer fields, constructors, methods, implement or subclass

Example usage for Java javax.jms MessageProducer fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.jms MessageProducer.

The text is from its open source code.

Implementation

javax.jms.MessageProducer has the following implementations.
Click this link to see all its implementation.

Method

voidclose()
Closes the message producer.
intgetDeliveryMode()
Gets the producer's default delivery mode.
DestinationgetDestination()
Gets the destination associated with this MessageProducer .
intgetPriority()
Gets the producer's default priority.
longgetTimeToLive()
Gets the default length of time in milliseconds from its dispatch time that a produced message should be retained by the message system.
voidsend(Message message)
Sends a message using the MessageProducer 's default delivery mode, priority, and time to live.
voidsend(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.
voidsend(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.
voidsend(Message message, int deliveryMode, int priority, long timeToLive)
Sends a message, specifying delivery mode, priority, and time to live.
voidsend(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.
voidsend(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.
voidsetDeliveryDelay(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.
voidsetDeliveryMode(int deliveryMode)
Sets the producer's default delivery mode.
voidsetDisableMessageID(boolean value)
Specify whether message IDs may be disabled.
voidsetDisableMessageTimestamp(boolean value)
Specify whether message timestamps may be disabled.
voidsetPriority(int defaultPriority)
Sets the producer's default priority.
voidsetTimeToLive(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.