mirror of https://github.com/apache/activemq.git
Updated API for commons-pool2
This commit is contained in:
parent
6d6ed4eaaf
commit
4441001c42
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue