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

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@995154 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2010-09-08 17:03:02 +00:00
parent e5896c022c
commit adb76e5eb1
1 changed files with 1 additions and 1 deletions

View File

@ -2315,7 +2315,7 @@ public class BrokerService implements Service {
*/
public File getSchedulerDirectoryFile() {
if (this.schedulerDirectoryFile == null) {
this.schedulerDirectoryFile = new File(IOHelper.getDefaultDataDirectory(),"scheduler");
this.schedulerDirectoryFile = new File(getBrokerDataDirectory(), "scheduler");
}
return schedulerDirectoryFile;
}