Interface JmsResponseMessageBuilder<D extends JmsDestination>
- All Superinterfaces:
JmsMessageBuilder<D>,PublisherParameters
- All Known Implementing Classes:
DefaultJmsResponseMessageBuilder
public interface JmsResponseMessageBuilder<D extends JmsDestination>
extends JmsMessageBuilder<D>, PublisherParameters
Enables the creation of an outgoing
Message along with the response configuration. Users must use this builder to
create a message response instance.- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionOnly used by JMS 2.0.Time unit to be used in the deliveryDelay configurationsThe default JMSPriority value to be used when sending the messageReturns the Request Reply Pattern to useorg.mule.runtime.extension.api.runtime.parameter.OutboundCorrelationStrategyOptions on whether to include an outbound correlation id or notDefines the default time the message will be in the broker before it expires and is discardedTime unit to be used in the timeToLive configurationsbooleanIf true; the Message will be flagged to avoid generating its MessageIDbooleanIf true; the Message will be flagged to avoid generating its sent TimestampbooleanWhether or not the delivery should be done with a persistent configurationdefault booleanIf true no automatic response will be sent in case of Jms replyTo header presence.Methods inherited from interface org.mule.jms.commons.api.message.JmsMessageBuilder
build, getBody, getCorrelationId, getJmsType, getJmsxProperties, getOutboundContentType, getOutboundEncoding, getProperties, getReplyTo, isSendContentType, isSendEncoding
-
Method Details
-
isPersistentDelivery
boolean isPersistentDelivery()Whether or not the delivery should be done with a persistent configuration- Specified by:
isPersistentDeliveryin interfacePublisherParameters
-
getPriority
Integer getPriority()The default JMSPriority value to be used when sending the message- Specified by:
getPriorityin interfacePublisherParameters
-
getTimeToLive
Long getTimeToLive()Defines the default time the message will be in the broker before it expires and is discarded- Specified by:
getTimeToLivein interfacePublisherParameters
-
getTimeToLiveUnit
TimeUnit getTimeToLiveUnit()Time unit to be used in the timeToLive configurations- Specified by:
getTimeToLiveUnitin interfacePublisherParameters
-
isDisableMessageId
boolean isDisableMessageId()If true; the Message will be flagged to avoid generating its MessageID- Specified by:
isDisableMessageIdin interfacePublisherParameters
-
isDisableMessageTimestamp
boolean isDisableMessageTimestamp()If true; the Message will be flagged to avoid generating its sent Timestamp- Specified by:
isDisableMessageTimestampin interfacePublisherParameters
-
getDeliveryDelay
Long getDeliveryDelay()Only used by JMS 2.0. Sets the delivery delay to be applied in order to postpone the Message delivery- Specified by:
getDeliveryDelayin interfacePublisherParameters
-
getDeliveryDelayUnit
TimeUnit getDeliveryDelayUnit()Time unit to be used in the deliveryDelay configurations- Specified by:
getDeliveryDelayUnitin interfacePublisherParameters
-
getSendCorrelationId
org.mule.runtime.extension.api.runtime.parameter.OutboundCorrelationStrategy getSendCorrelationId()Options on whether to include an outbound correlation id or not- Since:
- 1.1.0
-
getRequestReplyPattern
RequestReplyPattern getRequestReplyPattern()Returns the Request Reply Pattern to use- Since:
- 1.6.0
-
isReplyToIgnored
default boolean isReplyToIgnored()If true no automatic response will be sent in case of Jms replyTo header presence.- Returns:
- status of the Jms replyTo ignore flag.
- Since:
- 1.9.0
-