mirror of https://github.com/apache/activemq.git
check tmpDataStore is actually created before closing!
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@454444 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b6ba20b965
commit
78035ea26b
|
@ -454,7 +454,9 @@ public class BrokerService implements Service, Serializable {
|
||||||
if (broker != null) {
|
if (broker != null) {
|
||||||
stopper.stop(broker);
|
stopper.stop(broker);
|
||||||
}
|
}
|
||||||
tempDataStore.close();
|
if(tempDataStore!=null){
|
||||||
|
tempDataStore.close();
|
||||||
|
}
|
||||||
|
|
||||||
if (isUseJmx()) {
|
if (isUseJmx()) {
|
||||||
MBeanServer mbeanServer = getManagementContext().getMBeanServer();
|
MBeanServer mbeanServer = getManagementContext().getMBeanServer();
|
||||||
|
|
Loading…
Reference in New Issue