You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ra...@apache.org on 2006/10/09 19:56:59 UTC
svn commit: r454444 -
/incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java
Author: rajdavies
Date: Mon Oct 9 10:56:58 2006
New Revision: 454444
URL: http://svn.apache.org/viewvc?view=rev&rev=454444
Log:
check tmpDataStore is actually created before closing!
Modified:
incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java
Modified: incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java?view=diff&rev=454444&r1=454443&r2=454444
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java (original)
+++ incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java Mon Oct 9 10:56:58 2006
@@ -454,7 +454,9 @@
if (broker != null) {
stopper.stop(broker);
}
- tempDataStore.close();
+ if(tempDataStore!=null){
+ tempDataStore.close();
+ }
if (isUseJmx()) {
MBeanServer mbeanServer = getManagementContext().getMBeanServer();