ACTIVEMQ6-111 journal dir created even if persistence disabled

This commit is contained in:
jbertram 2015-05-19 16:16:51 -05:00
parent 99147d0713
commit 4b833cf5e7
1 changed files with 1 additions and 1 deletions

View File

@ -2236,7 +2236,7 @@ public class ActiveMQServerImpl implements ActiveMQServer
{ {
File journalDir = new File(configuration.getJournalDirectory()); File journalDir = new File(configuration.getJournalDirectory());
if (!journalDir.exists()) if (!journalDir.exists() && configuration.isPersistenceEnabled())
{ {
if (configuration.isCreateJournalDir()) if (configuration.isCreateJournalDir())
{ {