From 1bd6be8a8e933c69ac5125ac3349825e38e174bb Mon Sep 17 00:00:00 2001 From: Guillaume Nodet Date: Mon, 1 Sep 2008 19:01:12 +0000 Subject: [PATCH] AMQ-1923: the defaut value for the maximumActive property on the PooledConnectionFactoryBean is 0, making it unusable git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@691030 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/activemq/pool/PooledConnectionFactoryBean.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/activemq-pool/src/main/java/org/apache/activemq/pool/PooledConnectionFactoryBean.java b/activemq-pool/src/main/java/org/apache/activemq/pool/PooledConnectionFactoryBean.java index 903ddc6074..a6def4a7ef 100644 --- a/activemq-pool/src/main/java/org/apache/activemq/pool/PooledConnectionFactoryBean.java +++ b/activemq-pool/src/main/java/org/apache/activemq/pool/PooledConnectionFactoryBean.java @@ -49,8 +49,8 @@ public class PooledConnectionFactoryBean implements FactoryBean, InitializingBea 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;