Package org.apache.activemq.plugin
Class AbstractRuntimeConfigurationBroker
java.lang.Object
org.apache.activemq.broker.BrokerFilter
org.apache.activemq.plugin.AbstractRuntimeConfigurationBroker
- Direct Known Subclasses:
JavaRuntimeConfigurationBroker,RuntimeConfigurationBroker
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ReentrantReadWriteLockprotected ConcurrentLinkedQueue<Runnable>protected final ReentrantReadWriteLockprotected ConcurrentLinkedQueue<Runnable>protected Stringstatic final org.slf4j.Loggerprotected Runnableprotected ObjectNameFields inherited from class org.apache.activemq.broker.BrokerFilter
next -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddConnection(ConnectionContext context, org.apache.activemq.command.ConnectionInfo info) addDestination(ConnectionContext context, org.apache.activemq.command.ActiveMQDestination destination, boolean createIfTemporary) protected voidApply the destination work immediately instead of waiting for a connection add or destination addvoidprotected StringfilterPasswords(Object toEscape) voidvoidprotected voidvoidstart()voidstop()protected voidMethods inherited from class org.apache.activemq.broker.BrokerFilter
acknowledge, addBroker, addConsumer, addDestinationInfo, addProducer, addSession, beginTransaction, brokerServiceStarted, commitTransaction, fastProducer, forgetTransaction, gc, getAdaptor, getAdminConnectionContext, getBrokerId, getBrokerName, getBrokerSequenceId, getBrokerService, getClients, getDestinationMap, getDestinationMap, getDestinations, getDestinations, getDurableDestinations, getExecutor, getNext, getPeerBrokerInfos, getPreparedTransactions, getRoot, getScheduler, getTempDataStore, getVmConnectorURI, isExpired, isFaultTolerantConfiguration, isFull, isStopped, messageConsumed, messageDelivered, messageDiscarded, messageDispatched, messageExpired, messagePull, networkBridgeStarted, networkBridgeStopped, nowMasterBroker, postProcessDispatch, prepareTransaction, preProcessDispatch, processConsumerControl, processDispatchNotification, reapplyInterceptor, removeBroker, removeConnection, removeConsumer, removeDestination, removeDestinationInfo, removeProducer, removeSession, removeSubscription, rollbackTransaction, send, sendToDeadLetterQueue, setAdminConnectionContext, slowConsumer, virtualDestinationAdded, virtualDestinationRemoved
-
Field Details
-
LOG
public static final org.slf4j.Logger LOG -
addDestinationBarrier
-
addConnectionBarrier
-
monitorTask
-
addDestinationWork
-
addConnectionWork
-
objectName
-
infoString
-
-
Constructor Details
-
AbstractRuntimeConfigurationBroker
-
-
Method Details
-
start
- Specified by:
startin interfaceorg.apache.activemq.Service- Overrides:
startin classBrokerFilter- Throws:
Exception
-
stop
- Specified by:
stopin interfaceorg.apache.activemq.Service- Overrides:
stopin classBrokerFilter- Throws:
Exception
-
registerMbean
protected void registerMbean() -
unregisterMbean
protected void unregisterMbean() -
addDestination
public Destination addDestination(ConnectionContext context, org.apache.activemq.command.ActiveMQDestination destination, boolean createIfTemporary) throws Exception - Specified by:
addDestinationin interfaceRegion- Overrides:
addDestinationin classBrokerFilter- Throws:
Exception
-
addConnection
public void addConnection(ConnectionContext context, org.apache.activemq.command.ConnectionInfo info) throws Exception - Specified by:
addConnectionin interfaceBroker- Overrides:
addConnectionin classBrokerFilter- Throws:
Exception
-
applyDestinationWork
Apply the destination work immediately instead of waiting for a connection add or destination add- Throws:
Exception
-
debug
-
info
-
info
-
filterPasswords
-