mirror of https://github.com/apache/activemq.git
allow folks to disable the JDBC database lock
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@427144 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b3001f22b1
commit
dd5c9e6e13
|
@ -159,6 +159,14 @@ public class DefaultPersistenceAdapterFactory extends DataSourceSupport implemen
|
||||||
jdbcPersistenceAdapter.setStatements(statements);
|
jdbcPersistenceAdapter.setStatements(statements);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean isUseDatabaseLock() {
|
||||||
|
return jdbcPersistenceAdapter.isUseDatabaseLock();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setUseDatabaseLock(boolean useDatabaseLock) {
|
||||||
|
jdbcPersistenceAdapter.setUseDatabaseLock(useDatabaseLock);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @throws IOException
|
* @throws IOException
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue