routerconfig.xml Watchdog
It is possible to detect and reload changes directly out of the router configuration file routerconfig.xml
. The associated interval driven watchdog can be enabled by setting the following system property of the SwiftMQ Router to a millisecond interval to check for changes, e.g. every minute:
-Dswiftmq.config.watchdog.interval=60000
Detected and applied changes are logged to the info.log
of the router, errors are logged to the error.log
.
The watchdog is disabled by default for compatibility reasons.