activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject svn commit: r995154 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java
Date Wed, 08 Sep 2010 17:03:03 GMT
Author: gtully
Date: Wed Sep  8 17:03:02 2010
New Revision: 995154

URL: http://svn.apache.org/viewvc?rev=995154&view=rev
Log:
make default schedualler dir broker name dependent so there is no clash among embedded brokers
- follow up to https://issues.apache.org/activemq/browse/AMQ-2897

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java?rev=995154&r1=995153&r2=995154&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java
Wed Sep  8 17:03:02 2010
@@ -2315,7 +2315,7 @@ public class BrokerService implements Se
      */
     public File getSchedulerDirectoryFile() {
         if (this.schedulerDirectoryFile == null) {
-            this.schedulerDirectoryFile = new File(IOHelper.getDefaultDataDirectory(),"scheduler");
+            this.schedulerDirectoryFile = new File(getBrokerDataDirectory(), "scheduler");
         }
         return schedulerDirectoryFile;
     }



Mime
View raw message