You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by an...@apache.org on 2015/05/20 11:47:16 UTC
[11/13] activemq-artemis git commit: ACTIVEMQ6-111 journal dir
created even if persistence disabled
ACTIVEMQ6-111 journal dir created even if persistence disabled
Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/4b833cf5
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/4b833cf5
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/4b833cf5
Branch: refs/heads/master
Commit: 4b833cf5e79324453b7fa51a4158e890b23048b5
Parents: 99147d0
Author: jbertram <jb...@apache.org>
Authored: Tue May 19 16:16:51 2015 -0500
Committer: jbertram <jb...@apache.org>
Committed: Tue May 19 16:16:51 2015 -0500
----------------------------------------------------------------------
.../activemq/artemis/core/server/impl/ActiveMQServerImpl.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/4b833cf5/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/ActiveMQServerImpl.java
----------------------------------------------------------------------
diff --git a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/ActiveMQServerImpl.java b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/ActiveMQServerImpl.java
index 1f55131..6d17703 100644
--- a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/ActiveMQServerImpl.java
+++ b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/ActiveMQServerImpl.java
@@ -2236,7 +2236,7 @@ public class ActiveMQServerImpl implements ActiveMQServer
{
File journalDir = new File(configuration.getJournalDirectory());
- if (!journalDir.exists())
+ if (!journalDir.exists() && configuration.isPersistenceEnabled())
{
if (configuration.isCreateJournalDir())
{