public class VirtualTopicInterceptor extends DestinationFilter
nextDEFAULT_BLOCKED_PRODUCER_WARNING_INTERVAL, DEFAULT_DEAD_LETTER_STRATEGY| Constructor and Description |
|---|
VirtualTopicInterceptor(Destination next,
VirtualTopic virtualTopic) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.activemq.command.ActiveMQDestination |
getQueueConsumersWildcard(org.apache.activemq.command.ActiveMQDestination original) |
Topic |
getTopic() |
void |
send(ProducerBrokerExchange context,
org.apache.activemq.command.Message message) |
protected void |
send(ProducerBrokerExchange context,
org.apache.activemq.command.Message message,
org.apache.activemq.command.ActiveMQDestination destination)
Sends a message to the given destination which may be a wildcard
|
protected boolean |
shouldDispatch(Broker broker,
org.apache.activemq.command.Message message,
Destination dest) |
acknowledge, addProducer, addSubscription, browse, canGC, clearPendingMessages, deleteSubscription, 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, 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 VirtualTopicInterceptor(Destination next, VirtualTopic virtualTopic)
public void send(ProducerBrokerExchange context, org.apache.activemq.command.Message message) throws Exception
send in interface Destinationsend in class DestinationFilterExceptionprotected void send(ProducerBrokerExchange context, org.apache.activemq.command.Message message, org.apache.activemq.command.ActiveMQDestination destination) throws Exception
DestinationFiltersend in class DestinationFiltercontext - broker contextmessage - message to senddestination - possibly wildcard destination to send the message toException - on errorprotected boolean shouldDispatch(Broker broker, org.apache.activemq.command.Message message, Destination dest) throws IOException
IOExceptionprotected org.apache.activemq.command.ActiveMQDestination getQueueConsumersWildcard(org.apache.activemq.command.ActiveMQDestination original)
Copyright © 2005–2020 The Apache Software Foundation. All rights reserved.