activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r427144 - /incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/DefaultPersistenceAdapterFactory.java
Date Mon, 31 Jul 2006 15:37:08 GMT
Author: jstrachan
Date: Mon Jul 31 08:37:07 2006
New Revision: 427144

URL: http://svn.apache.org/viewvc?rev=427144&view=rev
Log:
allow folks to disable the JDBC database lock

Modified:
    incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/DefaultPersistenceAdapterFactory.java

Modified: incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/DefaultPersistenceAdapterFactory.java
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/DefaultPersistenceAdapterFactory.java?rev=427144&r1=427143&r2=427144&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/DefaultPersistenceAdapterFactory.java
(original)
+++ incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/DefaultPersistenceAdapterFactory.java
Mon Jul 31 08:37:07 2006
@@ -159,6 +159,14 @@
         jdbcPersistenceAdapter.setStatements(statements);
     }
 
+    public boolean isUseDatabaseLock() {
+        return jdbcPersistenceAdapter.isUseDatabaseLock();
+    }
+
+    public void setUseDatabaseLock(boolean useDatabaseLock) {
+        jdbcPersistenceAdapter.setUseDatabaseLock(useDatabaseLock);
+    }
+
     /**
      * @throws IOException
      */



Mime
View raw message