org.apache.activemq.broker.region.virtual
Class SelectorAwareVirtualTopicInterceptor
java.lang.Object
org.apache.activemq.broker.region.DestinationFilter
org.apache.activemq.broker.region.virtual.VirtualTopicInterceptor
org.apache.activemq.broker.region.virtual.SelectorAwareVirtualTopicInterceptor
- All Implemented Interfaces:
- Destination, Service, Task
public class SelectorAwareVirtualTopicInterceptor
- extends VirtualTopicInterceptor
|
Method Summary |
protected void |
send(ProducerBrokerExchange context,
Message message,
ActiveMQDestination destination)
Respect the selectors of the subscriptions to ensure only matched messages are dispatched to
the virtual queues, hence there is no build up of unmatched messages on these destinations |
| Methods inherited from class org.apache.activemq.broker.region.DestinationFilter |
acknowledge, addProducer, addSubscription, browse, canGC, clearPendingMessages, dispose, fastProducer, gc, getActiveMQDestination, getBlockedProducerWarningInterval, getConsumers, getCursorMemoryHighWaterMark, getDeadLetterStrategy, getDestinationStatistics, getInactiveTimoutBeforeGC, getMaxAuditDepth, getMaxBrowsePageSize, getMaxPageSize, getMaxProducersToAudit, getMemoryUsage, getMessageStore, getMinimumMessageSize, getName, getSlowConsumerStrategy, isActive, isAlwaysRetroactive, isDisposed, isDoOptimzeMessageStorage, isEnableAudit, isFull, isLazyDispatch, isPrioritizedMessages, isProducerFlowControl, isUseCache, iterate, markForGC, messageConsumed, messageDelivered, messageDiscarded, messageExpired, messageExpired, processDispatchNotification, removeProducer, removeSubscription, setAlwaysRetroactive, setBlockedProducerWarningInterval, setCursorMemoryHighWaterMark, setDoOptimzeMessageStorage, setEnableAudit, setLazyDispatch, setMaxAuditDepth, setMaxBrowsePageSize, setMaxPageSize, setMaxProducersToAudit, setMinimumMessageSize, setProducerFlowControl, setUseCache, slowConsumer, start, stop, wakeup |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SelectorAwareVirtualTopicInterceptor
public SelectorAwareVirtualTopicInterceptor(Destination next,
String prefix,
String postfix,
boolean local)
send
protected void send(ProducerBrokerExchange context,
Message message,
ActiveMQDestination destination)
throws Exception
- Respect the selectors of the subscriptions to ensure only matched messages are dispatched to
the virtual queues, hence there is no build up of unmatched messages on these destinations
- Overrides:
send in class DestinationFilter
- Parameters:
context - broker contextmessage - message to senddestination - possibly wildcard destination to send the message to
- Throws:
Exception - on error
Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.