Uses of Interface
jakarta.jms.JMSProducer
Packages that use JMSProducer
-
Uses of JMSProducer in jakarta.jms
Methods in jakarta.jms that return JMSProducerModifier and TypeMethodDescriptionJMSProducer.clearProperties()Clears any message properties set on thisJMSProducerJMSContext.createProducer()Creates a newJMSProducerobject which can be used to configure and send messagesJMSProducer.send(Destination destination, byte[] body) Send aBytesMessagewith the specified body to the specified destination, using any send options, message properties and message headers that have been defined on thisJMSProducer.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 thisJMSProducer.JMSProducer.send(Destination destination, Serializable body) Send anObjectMessagewith the specified body to the specified destination, using any send options, message properties and message headers that have been defined on thisJMSProducer.JMSProducer.send(Destination destination, String body) Send aTextMessagewith the specified body to the specified destination, using any send options, message properties and message headers that have been defined on thisJMSProducer.JMSProducer.send(Destination destination, Map<String, Object> body) Send aMapMessagewith the specified body to the specified destination, using any send options, message properties and message headers that have been defined on thisJMSProducer.JMSProducer.setAsync(CompletionListener completionListener) Specifies whether subsequent calls tosendon thisJMSProducerobject should be synchronous or asynchronous.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.setDeliveryMode(int deliveryMode) Specifies the delivery mode of messages that are sent using thisJMSProducerJMSProducer.setDisableMessageID(boolean value) Specifies whether message IDs may be disabled for messages that are sent using thisJMSProducerJMSProducer.setDisableMessageTimestamp(boolean value) Specifies whether message timestamps may be disabled for messages that are sent using thisJMSProducer.JMSProducer.setJMSCorrelationID(String correlationID) Specifies that messages sent using thisJMSProducerwill have theirJMSCorrelationIDheader value set to the specified correlation ID, where correlation ID is specified as aString.JMSProducer.setJMSCorrelationIDAsBytes(byte[] correlationID) Specifies that messages sent using thisJMSProducerwill have theirJMSCorrelationIDheader value set to the specified correlation ID, where correlation ID is specified as an array of bytes.JMSProducer.setJMSReplyTo(Destination replyTo) Specifies that messages sent using thisJMSProducerwill have theirJMSReplyToheader value set to the specifiedDestinationobject.JMSProducer.setJMSType(String type) Specifies that messages sent using thisJMSProducerwill have theirJMSTypeheader value set to the specified message type.JMSProducer.setPriority(int priority) Specifies the priority of messages that are sent using thisJMSProducerJMSProducer.setProperty(String name, boolean value) Specifies that messages sent using thisJMSProducerwill have the specified property set to the specifiedbooleanvalue.JMSProducer.setProperty(String name, byte value) Specifies that messages sent using thisJMSProducerwill have the specified property set to the specifiedbytevalue.JMSProducer.setProperty(String name, double value) Specifies that messages sent using thisJMSProducerwill have the specified property set to the specifieddoublevalue.JMSProducer.setProperty(String name, float value) Specifies that messages sent using thisJMSProducerwill have the specified property set to the specifiedfloatvalue.JMSProducer.setProperty(String name, int value) Specifies that messages sent using thisJMSProducerwill have the specified property set to the specifiedintvalue.JMSProducer.setProperty(String name, long value) Specifies that messages sent using thisJMSProducerwill have the specified property set to the specifiedlongvalue.JMSProducer.setProperty(String name, short value) Specifies that messages sent using thisJMSProducerwill have the specified property set to the specifiedshortvalue.JMSProducer.setProperty(String name, Object value) Specifies that messages sent using thisJMSProducerwill have the specified property set to the specified Java object value.JMSProducer.setProperty(String name, String value) Specifies that messages sent using thisJMSProducerwill have the specified property set to the specifiedStringvalue.JMSProducer.setTimeToLive(long timeToLive) Specifies the time to live of messages that are sent using thisJMSProducer. -
Uses of JMSProducer in org.apache.activemq.artemis.jms.client
Classes in org.apache.activemq.artemis.jms.client that implement JMSProducerModifier and TypeClassDescriptionfinal classNOTE: this class forwardsActiveMQJMSProducer.setDisableMessageID(boolean)andActiveMQJMSProducer.setDisableMessageTimestamp(boolean)calls their equivalent at theMessageProducer.Methods in org.apache.activemq.artemis.jms.client that return JMSProducerModifier and TypeMethodDescriptionActiveMQJMSProducer.clearProperties()ActiveMQJMSContext.createProducer()ActiveMQJMSProducer.send(Destination destination, byte[] body) ActiveMQJMSProducer.send(Destination destination, Message message) ActiveMQJMSProducer.send(Destination destination, Serializable body) ActiveMQJMSProducer.send(Destination destination, String body) ActiveMQJMSProducer.send(Destination destination, Map<String, Object> body) ActiveMQJMSProducer.setAsync(CompletionListener completionListener) ActiveMQJMSProducer.setDeliveryDelay(long deliveryDelay) ActiveMQJMSProducer.setDeliveryMode(int deliveryMode) ActiveMQJMSProducer.setDisableMessageID(boolean value) ActiveMQJMSProducer.setDisableMessageTimestamp(boolean value) ActiveMQJMSProducer.setJMSCorrelationID(String correlationID) ActiveMQJMSProducer.setJMSCorrelationIDAsBytes(byte[] correlationID) ActiveMQJMSProducer.setJMSReplyTo(Destination replyTo) ActiveMQJMSProducer.setJMSType(String type) ActiveMQJMSProducer.setPriority(int priority) ActiveMQJMSProducer.setProperty(String name, boolean value) ActiveMQJMSProducer.setProperty(String name, byte value) ActiveMQJMSProducer.setProperty(String name, double value) ActiveMQJMSProducer.setProperty(String name, float value) ActiveMQJMSProducer.setProperty(String name, int value) ActiveMQJMSProducer.setProperty(String name, long value) ActiveMQJMSProducer.setProperty(String name, short value) ActiveMQJMSProducer.setProperty(String name, Object value) ActiveMQJMSProducer.setProperty(String name, String value) ActiveMQJMSProducer.setTimeToLive(long timeToLive)