public class SelectorAwareVirtualTopicInterceptor extends VirtualTopicInterceptor
nextDEFAULT_BLOCKED_PRODUCER_WARNING_INTERVAL, DEFAULT_DEAD_LETTER_STRATEGY| Constructor and Description |
|---|
SelectorAwareVirtualTopicInterceptor(Destination next,
java.lang.String prefix,
java.lang.String postfix,
boolean local) |
| Modifier and Type | Method and Description |
|---|---|
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
|
getQueueConsumersWildcard, getTopic, sendacknowledge, addProducer, addSubscription, browse, canGC, clearPendingMessages, deleteSubscription, dispose, duplicateFromStore, 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, setMemoryUsage, setMinimumMessageSize, setProducerFlowControl, setUseCache, slowConsumer, start, stop, wakeuppublic SelectorAwareVirtualTopicInterceptor(Destination next, java.lang.String prefix, java.lang.String postfix, boolean local)
protected void send(ProducerBrokerExchange context, Message message, ActiveMQDestination destination) throws java.lang.Exception
send in class DestinationFiltercontext - broker contextmessage - message to senddestination - possibly wildcard destination to send the message tojava.lang.Exception - on errorCopyright © 2005-2016 Red Hat, Inc.. All Rights Reserved.