public class DefaultJmsProducerConfig extends Object implements JmsProducerConfig
| Constructor and Description |
|---|
DefaultJmsProducerConfig() |
| Modifier and Type | Method and Description |
|---|---|
Long |
getDeliveryDelay() |
TimeUnit |
getDeliveryDelayUnit() |
String |
getJmsType() |
int |
getPriority()
Defines the default
Message.getJMSPriority() to use when sending messages |
long |
getTimeToLive() |
TimeUnit |
getTimeToLiveUnit() |
boolean |
isDisableMessageId() |
boolean |
isDisableMessageTimestamp() |
boolean |
isPersistentDelivery()
Sets the default value for the
Message.getJMSDeliveryMode(). |
public boolean isPersistentDelivery()
JmsProducerConfigMessage.getJMSDeliveryMode().
If true, the DeliveryMode.PERSISTENT mode 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.isPersistentDelivery in interface JmsProducerConfigpublic int getPriority()
JmsProducerConfigMessage.getJMSPriority() to use when sending messagesgetPriority in interface JmsProducerConfigpublic long getTimeToLive()
getTimeToLive in interface JmsProducerConfigpublic TimeUnit getTimeToLiveUnit()
getTimeToLiveUnit in interface JmsProducerConfigpublic boolean isDisableMessageId()
isDisableMessageId in interface JmsProducerConfigpublic boolean isDisableMessageTimestamp()
isDisableMessageTimestamp in interface JmsProducerConfigpublic Long getDeliveryDelay()
getDeliveryDelay in interface JmsProducerConfigpublic TimeUnit getDeliveryDelayUnit()
getDeliveryDelayUnit in interface JmsProducerConfigpublic String getJmsType()
getJmsType in interface JmsProducerConfigCopyright © 2019. All rights reserved.