ACTIVEMQ6-111 journal dir created even if persistence disabled
This commit is contained in:
parent
99147d0713
commit
4b833cf5e7
|
@ -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())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue