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.Logger
LOG
-
Constructor Summary
Constructors Constructor Description RuntimeConfigurationPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getCheckPeriod()
Broker
installPlugin(Broker broker)
Installs the plugin into the interceptor chain of the broker, returning the new intercepted broker to use.void
setCheckPeriod(long checkPeriod)
-
-
-
Method Detail
-
installPlugin
public Broker installPlugin(Broker broker) throws Exception
Description copied from interface:BrokerPlugin
Installs the plugin into the interceptor chain of the broker, returning the new intercepted broker to use.- Specified by:
installPlugin
in interfaceBrokerPlugin
- Throws:
Exception
-
getCheckPeriod
public long getCheckPeriod()
-
setCheckPeriod
public void setCheckPeriod(long checkPeriod)
-
-