mirror of https://github.com/apache/activemq.git
deal with mbeans being already unregistered gracefully
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384185 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f692aa3781
commit
d47ce01a85
|
@ -112,6 +112,9 @@ public class ManagedRegionBroker extends RegionBroker{
|
|||
try {
|
||||
mbeanServer.unregisterMBean(name);
|
||||
}
|
||||
catch (InstanceNotFoundException e) {
|
||||
log.warn("The MBean: " + name + " is no longer registered with JMX");
|
||||
}
|
||||
catch (Exception e) {
|
||||
stopper.onException(this, e);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue