public class AddressSettings extends Object implements Mergeable<AddressSettings>, Serializable, EncodingSupport
Modifier and Type | Field and Description |
---|---|
static AddressFullMessagePolicy |
DEFAULT_ADDRESS_FULL_MESSAGE_POLICY |
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 long |
DEFAULT_REDISTRIBUTION_DELAY |
static boolean |
DEFAULT_SEND_TO_DLA_ON_NO_ROUTE |
Constructor and Description |
---|
AddressSettings() |
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 boolean DEFAULT_LAST_VALUE_QUEUE
public static final long DEFAULT_REDISTRIBUTION_DELAY
public static final boolean DEFAULT_SEND_TO_DLA_ON_NO_ROUTE
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 SimpleString getDeadLetterAddress()
public void setDeadLetterAddress(SimpleString deadLetterAddress)
public SimpleString getExpiryAddress()
public void setExpiryAddress(SimpleString expiryAddress)
public boolean isSendToDLAOnNoRoute()
public void setSendToDLAOnNoRoute(boolean value)
public long getRedistributionDelay()
public void setRedistributionDelay(long redistributionDelay)
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 © 2012 JBoss by Red Hat. All Rights Reserved.