Package org.apache.activemq.plugin
Class RuntimeConfigurationPlugin
- java.lang.Object
-
- org.apache.activemq.plugin.RuntimeConfigurationPlugin
-
- All Implemented Interfaces:
BrokerPlugin
public class RuntimeConfigurationPlugin extends Object implements BrokerPlugin
Broker plugin that will monitor the broker xml configuration for changes and selectively apply those changes to the running broker.
-
-
Field Summary
Fields Modifier and Type Field Description static org.slf4j.LoggerLOG
-
Constructor Summary
Constructors Constructor Description RuntimeConfigurationPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetCheckPeriod()BrokerinstallPlugin(Broker broker)Installs the plugin into the interceptor chain of the broker, returning the new intercepted broker to use.voidsetCheckPeriod(long checkPeriod)
-
-
-
Method Detail
-
installPlugin
public Broker installPlugin(Broker broker) throws Exception
Description copied from interface:BrokerPluginInstalls the plugin into the interceptor chain of the broker, returning the new intercepted broker to use.- Specified by:
installPluginin interfaceBrokerPlugin- Throws:
Exception
-
getCheckPeriod
public long getCheckPeriod()
-
setCheckPeriod
public void setCheckPeriod(long checkPeriod)
-
-