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 Details

    • isPersistentDelivery

      boolean isPersistentDelivery()
      Whether or not the delivery should be done with a persistent configuration
      Specified by:
      isPersistentDelivery in interface PublisherParameters
    • getPriority

      Integer getPriority()
      The default JMSPriority value to be used when sending the message
      Specified by:
      getPriority in interface PublisherParameters
    • getTimeToLive

      Long getTimeToLive()
      Defines the default time the message will be in the broker before it expires and is discarded
      Specified by:
      getTimeToLive in interface PublisherParameters
    • getTimeToLiveUnit

      TimeUnit getTimeToLiveUnit()
      Time unit to be used in the timeToLive configurations
      Specified by:
      getTimeToLiveUnit in interface PublisherParameters
    • isDisableMessageId

      boolean isDisableMessageId()
      If true; the Message will be flagged to avoid generating its MessageID
      Specified by:
      isDisableMessageId in interface PublisherParameters
    • isDisableMessageTimestamp

      boolean isDisableMessageTimestamp()
      If true; the Message will be flagged to avoid generating its sent Timestamp
      Specified by:
      isDisableMessageTimestamp in interface PublisherParameters
    • 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:
      getDeliveryDelay in interface PublisherParameters
    • getDeliveryDelayUnit

      TimeUnit getDeliveryDelayUnit()
      Time unit to be used in the deliveryDelay configurations
      Specified by:
      getDeliveryDelayUnit in interface PublisherParameters
    • 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