Modifier and Type | Method and Description |
---|---|
JMSProducer |
JMSProducer.clearProperties()
Clears any message properties set on this
JMSProducer |
JMSProducer |
JMSContext.createProducer()
Creates a new
JMSProducer object which can be used to configure and send messages |
JMSProducer |
JMSProducer.send(Destination destination,
byte[] body)
Send a
BytesMessage with the specified body to the specified destination, using any send options, message
properties and message headers that have been defined on this JMSProducer . |
JMSProducer |
JMSProducer.send(Destination destination,
Map<String,Object> body)
Send a
MapMessage with the specified body to the specified destination, using any send options, message
properties and message headers that have been defined on this JMSProducer . |
JMSProducer |
JMSProducer.send(Destination destination,
Message message)
Sends a message to the specified destination, using any send options, message properties and message headers that
have been defined on this
JMSProducer . |
JMSProducer |
JMSProducer.send(Destination destination,
Serializable body)
Send an
ObjectMessage with the specified body to the specified destination, using any send options, message
properties and message headers that have been defined on this JMSProducer . |
JMSProducer |
JMSProducer.send(Destination destination,
String body)
Send a
TextMessage with the specified body to the specified destination, using any send options, message
properties and message headers that have been defined on this JMSProducer . |
JMSProducer |
JMSProducer.setAsync(CompletionListener completionListener)
Specifies whether subsequent calls to
send on this JMSProducer object should be synchronous or
asynchronous. |
JMSProducer |
JMSProducer.setDeliveryDelay(long deliveryDelay)
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.
|
JMSProducer |
JMSProducer.setDeliveryMode(int deliveryMode)
Specifies the delivery mode of messages that are sent using this
JMSProducer |
JMSProducer |
JMSProducer.setDisableMessageID(boolean value)
Specifies whether message IDs may be disabled for messages that are sent using this
JMSProducer |
JMSProducer |
JMSProducer.setDisableMessageTimestamp(boolean value)
Specifies whether message timestamps may be disabled for messages that are sent using this
JMSProducer . |
JMSProducer |
JMSProducer.setJMSCorrelationID(String correlationID)
Specifies that messages sent using this
JMSProducer will have their JMSCorrelationID header value set
to the specified correlation ID, where correlation ID is specified as a String . |
JMSProducer |
JMSProducer.setJMSCorrelationIDAsBytes(byte[] correlationID)
Specifies that messages sent using this
JMSProducer will have their JMSCorrelationID header value set
to the specified correlation ID, where correlation ID is specified as an array of bytes. |
JMSProducer |
JMSProducer.setJMSReplyTo(Destination replyTo)
Specifies that messages sent using this
JMSProducer will have their JMSReplyTo header value set to
the specified Destination object. |
JMSProducer |
JMSProducer.setJMSType(String type)
Specifies that messages sent using this
JMSProducer will have their JMSType header value set to the
specified message type. |
JMSProducer |
JMSProducer.setPriority(int priority)
Specifies the priority of messages that are sent using this
JMSProducer |
JMSProducer |
JMSProducer.setProperty(String name,
boolean value)
Specifies that messages sent using this
JMSProducer will have the specified property set to the specified
boolean value. |
JMSProducer |
JMSProducer.setProperty(String name,
byte value)
Specifies that messages sent using this
JMSProducer will have the specified property set to the specified
byte value. |
JMSProducer |
JMSProducer.setProperty(String name,
double value)
Specifies that messages sent using this
JMSProducer will have the specified property set to the specified
double value. |
JMSProducer |
JMSProducer.setProperty(String name,
float value)
Specifies that messages sent using this
JMSProducer will have the specified property set to the specified
float value. |
JMSProducer |
JMSProducer.setProperty(String name,
int value)
Specifies that messages sent using this
JMSProducer will have the specified property set to the specified
int value. |
JMSProducer |
JMSProducer.setProperty(String name,
long value)
Specifies that messages sent using this
JMSProducer will have the specified property set to the specified
long value. |
JMSProducer |
JMSProducer.setProperty(String name,
Object value)
Specifies that messages sent using this
JMSProducer will have the specified property set to the specified
Java object value. |
JMSProducer |
JMSProducer.setProperty(String name,
short value)
Specifies that messages sent using this
JMSProducer will have the specified property set to the specified
short value. |
JMSProducer |
JMSProducer.setProperty(String name,
String value)
Specifies that messages sent using this
JMSProducer will have the specified property set to the specified
String value. |
JMSProducer |
JMSProducer.setTimeToLive(long timeToLive)
Specifies the time to live of messages that are sent using this
JMSProducer . |
Comments to: jms-dev@eclipse.org.
Copyright © 2018, 2020 Eclipse Foundation. All rights reserved.
Use is subject to license terms.