Class RedeliveryPolicyMap
java.lang.Object
org.apache.activemq.filter.DestinationMap
org.apache.activemq.broker.region.policy.RedeliveryPolicyMap
Represents a destination based configuration of policies so that individual
destinations or wildcard hierarchies of destinations can be configured using
different policies.
-
Field Summary
Fields inherited from class org.apache.activemq.filter.DestinationMap
ANY_CHILD, ANY_DESCENDENT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Class<? extends DestinationMapEntry>
Returns the type of the allowed entries which can be set via theDestinationMap.setEntries(List)
method.getEntryFor
(ActiveMQDestination destination) void
setDefaultEntry
(RedeliveryPolicy defaultEntry) void
setRedeliveryPolicyEntries
(List entries) Sets the individual entries on the redeliveryPolicyMapMethods inherited from class org.apache.activemq.filter.DestinationMap
chooseValue, findWildcardMatches, findWildcardMatches, get, getQueueRootChildCount, getQueueRootNode, getRootNode, getTempQueueRootNode, getTempTopicRootNode, getTopicRootChildCount, getTopicRootNode, isEmpty, put, remove, removeAll, reset, setEntries, union, unsynchronizedGet, unsynchronizedPut, unsynchronizedRemove
-
Constructor Details
-
RedeliveryPolicyMap
public RedeliveryPolicyMap()
-
-
Method Details
-
getEntryFor
-
setRedeliveryPolicyEntries
Sets the individual entries on the redeliveryPolicyMap -
getDefaultEntry
-
setDefaultEntry
-
getEntryClass
Description copied from class:DestinationMap
Returns the type of the allowed entries which can be set via theDestinationMap.setEntries(List)
method. This allows derived classes to further restrict the type of allowed entries to make a type safe destination map for custom policies.- Overrides:
getEntryClass
in classDestinationMap
-