activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r691030 - /activemq/trunk/activemq-pool/src/main/java/org/apache/activemq/pool/PooledConnectionFactoryBean.java
Date Mon, 01 Sep 2008 19:01:13 GMT
Author: gnodet
Date: Mon Sep  1 12:01:12 2008
New Revision: 691030

URL: http://svn.apache.org/viewvc?rev=691030&view=rev
Log:
AMQ-1923: the defaut value for the maximumActive property on the PooledConnectionFactoryBean
is 0, making it unusable

Modified:
    activemq/trunk/activemq-pool/src/main/java/org/apache/activemq/pool/PooledConnectionFactoryBean.java

Modified: activemq/trunk/activemq-pool/src/main/java/org/apache/activemq/pool/PooledConnectionFactoryBean.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-pool/src/main/java/org/apache/activemq/pool/PooledConnectionFactoryBean.java?rev=691030&r1=691029&r2=691030&view=diff
==============================================================================
--- activemq/trunk/activemq-pool/src/main/java/org/apache/activemq/pool/PooledConnectionFactoryBean.java
(original)
+++ activemq/trunk/activemq-pool/src/main/java/org/apache/activemq/pool/PooledConnectionFactoryBean.java
Mon Sep  1 12:01:12 2008
@@ -49,8 +49,8 @@
 
     private ConnectionFactory pooledConnectionFactory;
     private ConnectionFactory connectionFactory;
-    private int maxConnections;
-    private int maximumActive;
+    private int maxConnections = 1;
+    private int maximumActive = 500;
     private Object transactionManager;
     private String resourceName;
     private ObjectPoolFactory poolFactory;



Mime
View raw message