Package org.mule.jms.commons.api.config
Interface JmsProducerConfig
- All Known Implementing Classes:
DefaultJmsProducerConfig
public interface JmsProducerConfig
Configuration parameters for sending messages to a JMS Queue or Topic
- Since:
- 1.0
-
Method Summary
Modifier and TypeMethodDescriptionintDefines the defaultMessage.getJMSPriority()to use when sending messageslongbooleanbooleanbooleanSets the default value for theMessage.getJMSDeliveryMode().
-
Method Details
-
isPersistentDelivery
boolean isPersistentDelivery()Sets the default value for theMessage.getJMSDeliveryMode(). Iftrue, theDeliveryMode.PERSISTENTmode will be used, which instructs the JMS provider to take extra care to insure the message is not lost in transit due to a JMS provider failure. -
getPriority
int getPriority()Defines the defaultMessage.getJMSPriority()to use when sending messages -
getTimeToLive
long getTimeToLive() -
getTimeToLiveUnit
TimeUnit getTimeToLiveUnit() -
isDisableMessageId
boolean isDisableMessageId() -
isDisableMessageTimestamp
boolean isDisableMessageTimestamp() -
getDeliveryDelay
Long getDeliveryDelay() -
getDeliveryDelayUnit
TimeUnit getDeliveryDelayUnit() -
getJmsType
String getJmsType()
-