activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dej...@apache.org
Subject [1/2] activemq git commit: Updated API for commons-pool2
Date Thu, 16 Apr 2015 14:01:47 GMT
Repository: activemq
Updated Branches:
  refs/heads/master 31834ed1f -> 4441001c4


Updated API for commons-pool2


Project: http://git-wip-us.apache.org/repos/asf/activemq/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/4441001c
Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/4441001c
Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/4441001c

Branch: refs/heads/master
Commit: 4441001c42a9d9034d6faa979d24bc1d70725747
Parents: 6d6ed4e
Author: Jeff Genender <jgenender@savoirtech.com>
Authored: Wed Apr 15 12:23:03 2015 -0600
Committer: Dejan Bosanac <dejan@nighttale.net>
Committed: Thu Apr 16 16:01:39 2015 +0200

----------------------------------------------------------------------
 .../main/java/org/apache/activemq/jms/pool/ConnectionPool.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/4441001c/activemq-jms-pool/src/main/java/org/apache/activemq/jms/pool/ConnectionPool.java
----------------------------------------------------------------------
diff --git a/activemq-jms-pool/src/main/java/org/apache/activemq/jms/pool/ConnectionPool.java
b/activemq-jms-pool/src/main/java/org/apache/activemq/jms/pool/ConnectionPool.java
index 27c6ca4..6b6fe65 100644
--- a/activemq-jms-pool/src/main/java/org/apache/activemq/jms/pool/ConnectionPool.java
+++ b/activemq-jms-pool/src/main/java/org/apache/activemq/jms/pool/ConnectionPool.java
@@ -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() {


Mime
View raw message