Lucas Tétreault created AMQ-9123:
------------------------------------
Summary: ManagedRegionBroker should clear its various caches when
stopped
Key: AMQ-9123
URL: https://issues.apache.org/jira/browse/AMQ-9123
Project: ActiveMQ
Issue Type: Improvement
Components: JMX
Affects Versions: 5.17.2
Reporter: Lucas Tétreault
Matt noticed that when ManagedRegionBroker is stopped only the registered
mbeans are cleaned up but the various collections that hold queues, topics,
subscribers, etc. are never cleared. Therefore, if a broker is stopped and
started the caches will have previous run data in them.
This code appears to have been this way since 2006 but we should likely clean
up the collections when the broker is stopped assuming there are no intended
side-effects in leaving them with previous run data.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)