activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r454444 - /incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java
Date Mon, 09 Oct 2006 17:56:59 GMT
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();



Mime
View raw message