mirror of https://github.com/apache/activemq.git
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:
parent
e5896c022c
commit
adb76e5eb1
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue