public class SubQueueSelectorCacheBroker extends BrokerFilter implements java.lang.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,
java.io.File persistFile)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Subscription |
addConsumer(ConnectionContext context,
ConsumerInfo info)
Adds a consumer.
|
java.lang.String |
getSelector(java.lang.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, 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, removeBroker, removeConnection, removeConsumer, removeDestination, removeDestinationInfo, removeProducer, removeSession, removeSubscription, rollbackTransaction, send, sendToDeadLetterQueue, setAdminConnectionContext, slowConsumer, startpublic SubQueueSelectorCacheBroker(Broker next, java.io.File persistFile)
public void stop()
throws java.lang.Exception
stop in interface Servicestop in class BrokerFilterjava.lang.Exceptionpublic Subscription addConsumer(ConnectionContext context, ConsumerInfo info) throws java.lang.Exception
RegionaddConsumer in interface RegionaddConsumer in class BrokerFiltercontext - the environment the operation is being executed under.java.lang.Exception - TODOpublic java.lang.String getSelector(java.lang.String destination)
destinationpublic void run()
MAX_PERSIST_INTERVALms.run in interface java.lang.RunnableRunnable.run()Copyright © 2005-2013 Red Hat, Inc.. All Rights Reserved.