activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andytay...@apache.org
Subject [11/13] activemq-artemis git commit: ACTIVEMQ6-111 journal dir created even if persistence disabled
Date Wed, 20 May 2015 09:47:16 GMT
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 <jbertram@apache.org>
Authored: Tue May 19 16:16:51 2015 -0500
Committer: jbertram <jbertram@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())
          {


Mime
View raw message