Updated API for commons-pool2

This commit is contained in:
Jeff Genender 2015-04-15 12:23:03 -06:00 committed by Dejan Bosanac
parent 6d6ed4eaaf
commit 4441001c42
1 changed files with 2 additions and 2 deletions

View File

@ -262,11 +262,11 @@ public class ConnectionPool implements ExceptionListener {
}
public int getMaximumActiveSessionPerConnection() {
return this.sessionPool.getMaxTotal();
return this.sessionPool.getMaxTotalPerKey();
}
public void setMaximumActiveSessionPerConnection(int maximumActiveSessionPerConnection) {
this.sessionPool.setMaxTotal(maximumActiveSessionPerConnection);
this.sessionPool.setMaxTotalPerKey(maximumActiveSessionPerConnection);
}
public boolean isUseAnonymousProducers() {