To broadcast configuration data changes
Procedure
- Register JMX listeners to receive and handle configuration
data change notification. The name of JMX listener is configured in
the bootstrap.properties file.
Here is an example of how to update the bootstrap.properties file:
JMXListeners.className.1= com.dwl.management.config.client.mbean.listeners.LoggingChangeListenerMBean JMXListeners.className.2=<other listener mbean> - Use the implementation of the LoggingChangeListenerMBean to dynamically change logging level and file path setting.