Class MappedQueueFilter
java.lang.Object
org.apache.activemq.broker.region.DestinationFilter
org.apache.activemq.broker.region.virtual.BaseVirtualDestinationFilter
org.apache.activemq.broker.region.virtual.MappedQueueFilter
- All Implemented Interfaces:
Destination,org.apache.activemq.command.Message.MessageDestination,org.apache.activemq.Service,org.apache.activemq.thread.Task
Creates a mapped Queue that can recover messages from subscription recovery
policy of its Virtual Topic.
-
Field Summary
Fields inherited from class org.apache.activemq.broker.region.DestinationFilter
nextFields inherited from interface org.apache.activemq.broker.region.Destination
DEFAULT_BLOCKED_PRODUCER_WARNING_INTERVAL, DEFAULT_DEAD_LETTER_STRATEGY -
Constructor Summary
ConstructorsConstructorDescriptionMappedQueueFilter(org.apache.activemq.command.ActiveMQDestination virtualDestination, Destination destination) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSubscription(ConnectionContext context, Subscription sub) voiddeleteSubscription(ConnectionContext context, SubscriptionKey key) voidremoveSubscription(ConnectionContext context, Subscription sub, long lastDeliveredSequenceId) toString()Methods inherited from class org.apache.activemq.broker.region.DestinationFilter
acknowledge, addProducer, browse, canGC, clearPendingMessages, dispose, duplicateFromStore, fastProducer, gc, getActiveMQDestination, getAdaptor, getBlockedProducerWarningInterval, getConsumers, getCursorMemoryHighWaterMark, getDeadLetterStrategy, getDestinationStatistics, getInactiveTimeoutBeforeGC, getMaxAuditDepth, getMaxBrowsePageSize, getMaxPageSize, getMaxProducersToAudit, getMemoryUsage, getMessageStore, getMinimumMessageSize, getName, getNext, getSlowConsumerStrategy, getTempUsage, isActive, isAlwaysRetroactive, isDisposed, isDoOptimzeMessageStorage, isEnableAudit, isFull, isLazyDispatch, isPrioritizedMessages, isProducerFlowControl, isSendDuplicateFromStoreToDLQ, isUseCache, iterate, markForGC, messageConsumed, messageDelivered, messageDiscarded, messageDispatched, messageExpired, messageExpired, processDispatchNotification, removeProducer, send, send, setAlwaysRetroactive, setBlockedProducerWarningInterval, setCursorMemoryHighWaterMark, setDoOptimzeMessageStorage, setEnableAudit, setLazyDispatch, setMaxAuditDepth, setMaxBrowsePageSize, setMaxPageSize, setMaxProducersToAudit, setMemoryUsage, setMinimumMessageSize, setProducerFlowControl, setSendDuplicateFromStoreToDLQ, setUseCache, slowConsumer, start, stop, wakeup
-
Constructor Details
-
MappedQueueFilter
public MappedQueueFilter(org.apache.activemq.command.ActiveMQDestination virtualDestination, Destination destination)
-
-
Method Details
-
addSubscription
- Specified by:
addSubscriptionin interfaceDestination- Overrides:
addSubscriptionin classDestinationFilter- Throws:
Exception
-
removeSubscription
public void removeSubscription(ConnectionContext context, Subscription sub, long lastDeliveredSequenceId) throws Exception - Specified by:
removeSubscriptionin interfaceDestination- Overrides:
removeSubscriptionin classDestinationFilter- Throws:
Exception
-
deleteSubscription
- Overrides:
deleteSubscriptionin classDestinationFilter- Throws:
Exception
-
toString
-