public class AddressSettings extends Object implements Mergeable<AddressSettings>, Serializable, EncodingSupport
Modifier and Type | Field and Description |
---|---|
static AddressFullMessagePolicy |
DEFAULT_ADDRESS_FULL_MESSAGE_POLICY |
static long |
DEFAULT_EXPIRY_DELAY |
static boolean |
DEFAULT_LAST_VALUE_QUEUE |
static int |
DEFAULT_MAX_DELIVERY_ATTEMPTS |
static long |
DEFAULT_MAX_SIZE_BYTES
defaults used if null, this allows merging
|
static int |
DEFAULT_MESSAGE_COUNTER_HISTORY_DAY_LIMIT |
static int |
DEFAULT_PAGE_MAX_CACHE |
static long |
DEFAULT_PAGE_SIZE |
static long |
DEFAULT_REDELIVER_DELAY |
static double |
DEFAULT_REDELIVER_MULTIPLIER |
static long |
DEFAULT_REDISTRIBUTION_DELAY |
static boolean |
DEFAULT_SEND_TO_DLA_ON_NO_ROUTE |
static long |
DEFAULT_SLOW_CONSUMER_CHECK_PERIOD |
static SlowConsumerPolicy |
DEFAULT_SLOW_CONSUMER_POLICY |
static long |
DEFAULT_SLOW_CONSUMER_THRESHOLD |
Constructor and Description |
---|
AddressSettings() |
AddressSettings(AddressSettings other) |
public static final long DEFAULT_MAX_SIZE_BYTES
public static final AddressFullMessagePolicy DEFAULT_ADDRESS_FULL_MESSAGE_POLICY
public static final long DEFAULT_PAGE_SIZE
public static final int DEFAULT_MAX_DELIVERY_ATTEMPTS
public static final int DEFAULT_PAGE_MAX_CACHE
public static final int DEFAULT_MESSAGE_COUNTER_HISTORY_DAY_LIMIT
public static final long DEFAULT_REDELIVER_DELAY
public static final double DEFAULT_REDELIVER_MULTIPLIER
public static final boolean DEFAULT_LAST_VALUE_QUEUE
public static final long DEFAULT_REDISTRIBUTION_DELAY
public static final long DEFAULT_EXPIRY_DELAY
public static final boolean DEFAULT_SEND_TO_DLA_ON_NO_ROUTE
public static final long DEFAULT_SLOW_CONSUMER_THRESHOLD
public static final long DEFAULT_SLOW_CONSUMER_CHECK_PERIOD
public static final SlowConsumerPolicy DEFAULT_SLOW_CONSUMER_POLICY
public AddressSettings(AddressSettings other)
public AddressSettings()
public boolean isLastValueQueue()
public void setLastValueQueue(boolean lastValueQueue)
public AddressFullMessagePolicy getAddressFullMessagePolicy()
public void setAddressFullMessagePolicy(AddressFullMessagePolicy addressFullMessagePolicy)
public long getPageSizeBytes()
public void setPageSizeBytes(long pageSize)
public int getPageCacheMaxSize()
public void setPageCacheMaxSize(int pageMaxCache)
public long getMaxSizeBytes()
public void setMaxSizeBytes(long maxSizeBytes)
public int getMaxDeliveryAttempts()
public void setMaxDeliveryAttempts(int maxDeliveryAttempts)
public int getMessageCounterHistoryDayLimit()
public void setMessageCounterHistoryDayLimit(int messageCounterHistoryDayLimit)
public long getRedeliveryDelay()
public void setRedeliveryDelay(long redeliveryDelay)
public double getRedeliveryMultiplier()
public void setRedeliveryMultiplier(double redeliveryMultiplier)
public long getMaxRedeliveryDelay()
public void setMaxRedeliveryDelay(long maxRedeliveryDelay)
public SimpleString getDeadLetterAddress()
public void setDeadLetterAddress(SimpleString deadLetterAddress)
public SimpleString getExpiryAddress()
public void setExpiryAddress(SimpleString expiryAddress)
public Long getExpiryDelay()
public void setExpiryDelay(Long expiryDelay)
public boolean isSendToDLAOnNoRoute()
public void setSendToDLAOnNoRoute(boolean value)
public long getRedistributionDelay()
public void setRedistributionDelay(long redistributionDelay)
public long getSlowConsumerThreshold()
public void setSlowConsumerThreshold(long slowConsumerThreshold)
public long getSlowConsumerCheckPeriod()
public void setSlowConsumerCheckPeriod(long slowConsumerCheckPeriod)
public SlowConsumerPolicy getSlowConsumerPolicy()
public void setSlowConsumerPolicy(SlowConsumerPolicy slowConsumerPolicy)
public void merge(AddressSettings merged)
merge
in interface Mergeable<AddressSettings>
merged
- public void decode(HornetQBuffer buffer)
decode
in interface EncodingSupport
public int getEncodeSize()
getEncodeSize
in interface EncodingSupport
public void encode(HornetQBuffer buffer)
encode
in interface EncodingSupport
Copyright © 2017 JBoss, a division of Red Hat. All Rights Reserved.