| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private Long | |
| private Boolean | |
| private Boolean | |
| private int | |
| private final MessageProducer | |
| private long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public long | getDeliveryDelay()
Implements jakarta. Gets the minimum length of time in milliseconds that must elapse after a message is sent before the Jakarta Messaging provider may deliver the message to a consumer. |
| public int | getDeliveryMode()
Implements jakarta. Gets the producer's default delivery mode. |
| public Destination | getDestination()
Implements jakarta. Gets the destination associated with this |
| public boolean | getDisableMessageID()
Implements jakarta. Gets an indication of whether message IDs are disabled. |
| public boolean | getDisableMessageTimestamp()
Implements jakarta. Gets an indication of whether message timestamps are disabled. |
| public int | getPriority()
Implements jakarta. Gets the producer's default priority. |
| public Queue | getQueue()
Implements jakarta. Gets the queue associated with this |
| public long | getTimeToLive()
Implements jakarta. Gets the default length of time in milliseconds from its dispatch time that a produced message should be retained by the message system. |
| public Topic | getTopic()
Implements jakarta. Gets the topic associated with this |
| public void | publish(Message
the message to publish message)Implements jakarta. Publishes a message to the topic. |
| public void | publish(Message
the message to publish message, int the delivery mode to use deliveryMode, int the priority for this message priority, long the message's lifetime (in milliseconds) timeToLive)Implements jakarta. Publishes a message to the topic, specifying delivery mode, priority, and time to live. |
| public void | publish(Topic
the topic to publish this message to topic, Message the message to publish message)Implements jakarta. Publishes a message to a topic for an unidentified message producer. |
| public void | publish(Topic
the topic to publish this message to topic, Message the message to publish message, int the delivery mode to use deliveryMode, int the priority for this message priority, long the message's lifetime (in milliseconds) timeToLive)Implements jakarta. Publishes a message to a topic for an unidentified message producer, specifying delivery mode, priority and time to live. |
| public void | send(Message
the message to send message)Implements jakarta. Sends a message using the |
| public void | send(Message
the message to send message, int the delivery mode to use deliveryMode, int the priority for this message priority, long the message's lifetime (in milliseconds) timeToLive)Implements jakarta. Sends a message, specifying delivery mode, priority, and time to live. |
| public void | send(Destination
the destination to send this message to destination, Message the message to send message)Implements jakarta. Sends a message to a destination for an unidentified message producer using the |
| public void | send(Destination
the destination to send this message to destination, Message the message to send message, int the delivery mode to use deliveryMode, int the priority for this message priority, long the message's lifetime (in milliseconds) timeToLive)Implements jakarta. Sends a message to a destination for an unidentified message producer, specifying delivery mode, priority and time to live. |
| public void | send(Message
the message to send message, CompletionListener a completionListener)CompletionListener to be notified when the send has completedImplements jakarta. Sends a message using the |
| public void | send(Message
the message to send message, int the delivery mode to use deliveryMode, int the priority for this message priority, long the message's lifetime (in milliseconds) timeToLive, CompletionListener a completionListener)CompletionListener to be notified when the send has completedImplements jakarta. 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. |
| public void | send(Destination
the destination to send this message to destination, Message the message to send message, CompletionListener a completionListener)CompletionListener to be notified when the send has completedImplements jakarta. Sends a message to a destination for an unidentified message producer, using the |
| public void | send(Destination
the destination to send this message to destination, Message the message to send message, int the delivery mode to use deliveryMode, int the priority for this message priority, long the message's lifetime (in milliseconds) timeToLive, CompletionListener a completionListener)CompletionListener to be notified when the send has completedImplements jakarta. 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. |
| public void | send(Queue
the queue to send this message to queue, Message the message to send message)Implements jakarta. Sends a message to a queue for an unidentified message producer. |
| public void | send(Queue
the queue to send this message to queue, Message the message to send message, int the delivery mode to use deliveryMode, int the priority for this message priority, long the message's lifetime (in milliseconds) timeToLive)Implements jakarta. Sends a message to a queue for an unidentified message producer, specifying delivery mode, priority and time to live. |
| public void | setDeliveryDelay(long
the delivery delay in milliseconds. deliveryDelay)Implements jakarta. Sets the minimum length of time in milliseconds that must elapse after a message is sent before the Jakarta Messaging provider may deliver the message to a consumer. |
| public void | setDeliveryMode(int
the message delivery mode for this message producer; legal values are
deliveryMode)DeliveryMode.NON_PERSISTENT and DeliveryMode.PERSISTENTImplements jakarta. Sets the producer's default delivery mode. |
| public void | setDisableMessageID(boolean
indicates if message IDs may be disabled disableMessageID)Implements jakarta. Specify whether message IDs may be disabled. |
| public void | setDisableMessageTimestamp(boolean
indicates whether message timestamps may be disabled disableMessageTimestamp)Implements jakarta. Specify whether message timestamps may be disabled. |
| public void | setPriority(int
the message priority for this message producer; must be a value between 0 and 9 priority)Implements jakarta. Sets the producer's default priority. |
| public void | setTimeToLive(long
the message time to live in milliseconds; zero is unlimited timeToLive)Implements jakarta. Sets the default length of time in milliseconds from its dispatch time that a produced message should be retained by the message system. |
| public String |