mirror of https://github.com/apache/activemq.git
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@629631 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
bca91bb068
commit
e0bdc012c1
|
@ -77,7 +77,7 @@ public class JDBCPersistenceAdapter extends DataSourceSupport implements Persist
|
|||
private int cleanupPeriod = 1000 * 60 * 5;
|
||||
private boolean useExternalMessageReferences;
|
||||
private boolean useDatabaseLock = true;
|
||||
private int lockKeepAlivePeriod;
|
||||
private long lockKeepAlivePeriod = 1000*30;
|
||||
private DatabaseLocker databaseLocker;
|
||||
private boolean createTablesOnStartup = true;
|
||||
|
||||
|
@ -497,4 +497,12 @@ public class JDBCPersistenceAdapter extends DataSourceSupport implements Persist
|
|||
public long size(){
|
||||
return 0;
|
||||
}
|
||||
|
||||
public int getLockKeepAlivePeriod() {
|
||||
return lockKeepAlivePeriod;
|
||||
}
|
||||
|
||||
public void setLockKeepAlivePeriod(int lockKeepAlivePeriod) {
|
||||
this.lockKeepAlivePeriod = lockKeepAlivePeriod;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue