public class SubQueueSelectorCacheBroker extends BrokerFilter implements Runnable
https://issues.apache.org/activemq/browse/AMQ-3004,
http://mail-archives.apache.org/mod_mbox/activemq-users/201011.mbox/%3C8A013711-2613-450A-A487-379E784AF1D6@homeaway.co.uk%3Enext| Constructor and Description |
|---|
SubQueueSelectorCacheBroker(Broker next,
File persistFile)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Subscription |
addConsumer(ConnectionContext context,
ConsumerInfo info)
Adds a consumer.
|
Set<String> |
getSelector(String destination) |
void |
run()
Persist the selector cache every
MAX_PERSIST_INTERVALms. |
void |
stop() |
acknowledge, addBroker, addConnection, addDestination, addDestinationInfo, addProducer, addSession, beginTransaction, brokerServiceStarted, commitTransaction, fastProducer, forgetTransaction, gc, getAdaptor, getAdminConnectionContext, getBrokerId, getBrokerName, getBrokerSequenceId, getBrokerService, getClients, getDestinationMap, getDestinationMap, getDestinations, getDestinations, getDurableDestinations, getExecutor, getPeerBrokerInfos, getPreparedTransactions, getRoot, getScheduler, getTempDataStore, getVmConnectorURI, isExpired, isFaultTolerantConfiguration, isFull, isStopped, messageConsumed, messageDelivered, messageDiscarded, messageExpired, messagePull, networkBridgeStarted, networkBridgeStopped, nowMasterBroker, postProcessDispatch, prepareTransaction, preProcessDispatch, processConsumerControl, processDispatchNotification, reapplyInterceptor, removeBroker, removeConnection, removeConsumer, removeDestination, removeDestinationInfo, removeProducer, removeSession, removeSubscription, rollbackTransaction, send, sendToDeadLetterQueue, setAdminConnectionContext, slowConsumer, startpublic SubQueueSelectorCacheBroker(Broker next, File persistFile)
public void stop() throws Exception
stop in interface Servicestop in class BrokerFilterExceptionpublic Subscription addConsumer(ConnectionContext context, ConsumerInfo info) throws Exception
RegionaddConsumer in interface RegionaddConsumer in class BrokerFiltercontext - the environment the operation is being executed under.Exception - TODOpublic Set<String> getSelector(String destination)
destinationpublic void run()
MAX_PERSIST_INTERVALms.run in interface RunnableRunnable.run()Copyright © 2005–2015 The Apache Software Foundation. All rights reserved.