activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject svn commit: r701088 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/jdbc/JDBCPersistenceAdapter.java
Date Thu, 02 Oct 2008 11:44:29 GMT
Author: gtully
Date: Thu Oct  2 04:44:29 2008
New Revision: 701088

URL: http://svn.apache.org/viewvc?rev=701088&view=rev
Log:
fix AMQ-1956

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/jdbc/JDBCPersistenceAdapter.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/jdbc/JDBCPersistenceAdapter.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/jdbc/JDBCPersistenceAdapter.java?rev=701088&r1=701087&r2=701088&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/jdbc/JDBCPersistenceAdapter.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/jdbc/JDBCPersistenceAdapter.java
Thu Oct  2 04:44:29 2008
@@ -264,7 +264,7 @@
     }
 
     public DatabaseLocker getDatabaseLocker() throws IOException {
-        if (databaseLocker == null) {
+        if (databaseLocker == null && isUseDatabaseLock()) {
             databaseLocker = createDatabaseLocker();
         }
         return databaseLocker;



Mime
View raw message