Clears any message properties set on this JMSProducer
Creates a new JMSProducer
object which can be used to configure and send messages
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
.
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
.
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
.
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
.
Sends a message to the specified destination, using any send options, message properties and message headers that
have been defined on this JMSProducer
.
Specifies whether subsequent calls to send
on this JMSProducer
object should be synchronous or
asynchronous.
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.
Specifies the delivery mode of messages that are sent using this JMSProducer
Specifies whether message IDs may be disabled for messages that are sent using this JMSProducer
Specifies whether message timestamps may be disabled for messages that are sent using this JMSProducer
.
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
.
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.
Specifies that messages sent using this JMSProducer
will have their JMSReplyTo
header value set to
the specified Destination
object.
Specifies that messages sent using this JMSProducer
will have their JMSType
header value set to the
specified message type.
Specifies the priority of messages that are sent using this JMSProducer
Specifies that messages sent using this JMSProducer
will have the specified property set to the specified
boolean
value.
Specifies that messages sent using this JMSProducer
will have the specified property set to the specified
byte
value.
Specifies that messages sent using this JMSProducer
will have the specified property set to the specified
double
value.
Specifies that messages sent using this JMSProducer
will have the specified property set to the specified
float
value.
Specifies that messages sent using this JMSProducer
will have the specified property set to the specified
int
value.
Specifies that messages sent using this JMSProducer
will have the specified property set to the specified
long
value.
Specifies that messages sent using this JMSProducer
will have the specified property set to the specified
short
value.
Specifies that messages sent using this JMSProducer
will have the specified property set to the specified
Java object value.
Specifies that messages sent using this JMSProducer
will have the specified property set to the specified
String
value.
Specifies the time to live of messages that are sent using this JMSProducer
.