|
From version 5.9.0 a new broker plugin will allow selective changes to a broker xml configuration to take effect without broker restart. The plugin is configured via the broker xml configuration as follows: <broker xmlns="http://activemq.apache.org/schema/core" start="false" ... >
<plugins>
<runtimeConfigurationPlugin checkPeriod="1000" />
</plugins>
...
</broker>
Note: the start="false" attribute. It ensures that xbean-spring does not auto start the broker when the application context is loading. The checkPeriod when > 0 is the time in milliseconds between checks for changes to the lastupdate timestamp of the broker xml configuration url. Configuration elements that support runtime modification
Some more implementation detail and links to the tests can be found in AMQ-4682 |