Class VirtualTopicInterceptor
java.lang.Object
org.apache.activemq.broker.region.DestinationFilter
org.apache.activemq.broker.region.virtual.VirtualTopicInterceptor
- All Implemented Interfaces:
Destination,org.apache.activemq.command.Message.MessageDestination,org.apache.activemq.Service,org.apache.activemq.thread.Task
- Direct Known Subclasses:
SelectorAwareVirtualTopicInterceptor
A Destination which implements 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.activemq.command.ActiveMQDestinationgetQueueConsumersWildcard(org.apache.activemq.command.ActiveMQDestination original) getTopic()voidsend(ProducerBrokerExchange context, org.apache.activemq.command.Message message) protected voidsend(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 wildcardprotected booleanshouldDispatch(Broker broker, org.apache.activemq.command.Message message, Destination dest) Methods inherited from class org.apache.activemq.broker.region.DestinationFilter
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, isSendDuplicateFromStoreToDLQ, isUseCache, iterate, markForGC, messageConsumed, messageDelivered, messageDiscarded, messageDispatched, messageExpired, messageExpired, processDispatchNotification, removeProducer, removeSubscription, setAlwaysRetroactive, setBlockedProducerWarningInterval, setCursorMemoryHighWaterMark, setDoOptimzeMessageStorage, setEnableAudit, setLazyDispatch, setMaxAuditDepth, setMaxBrowsePageSize, setMaxPageSize, setMaxProducersToAudit, setMemoryUsage, setMinimumMessageSize, setProducerFlowControl, setSendDuplicateFromStoreToDLQ, setUseCache, slowConsumer, start, stop, wakeup
-
Constructor Details
-
VirtualTopicInterceptor
-
-
Method Details
-
getTopic
-
send
public void send(ProducerBrokerExchange context, org.apache.activemq.command.Message message) throws Exception - Specified by:
sendin interfaceDestination- Overrides:
sendin classDestinationFilter- Throws:
Exception
-
send
protected void send(ProducerBrokerExchange context, org.apache.activemq.command.Message message, org.apache.activemq.command.ActiveMQDestination destination) throws Exception Description copied from class:DestinationFilterSends a message to the given destination which may be a wildcard- Overrides:
sendin classDestinationFilter- Parameters:
context- broker contextmessage- message to senddestination- possibly wildcard destination to send the message to- Throws:
Exception- on error
-
shouldDispatch
protected boolean shouldDispatch(Broker broker, org.apache.activemq.command.Message message, Destination dest) throws IOException - Throws:
IOException
-
getQueueConsumersWildcard
protected org.apache.activemq.command.ActiveMQDestination getQueueConsumersWildcard(org.apache.activemq.command.ActiveMQDestination original)
-