[jboss-svn-commits] JBL Code SVN: r5779 - labs/jbossesb/trunk/product/core/common/src/org/jboss/soa/esb/connection

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Fri Aug 11 12:43:07 EDT 2006


Author: tfennelly
Date: 2006-08-11 12:43:04 -0400 (Fri, 11 Aug 2006)
New Revision: 5779

Modified:
   labs/jbossesb/trunk/product/core/common/src/org/jboss/soa/esb/connection/ConnectionProperties.java
Log:
Bug fix - some of the property setter methods were always were not setting their properties.

Modified: labs/jbossesb/trunk/product/core/common/src/org/jboss/soa/esb/connection/ConnectionProperties.java
===================================================================
--- labs/jbossesb/trunk/product/core/common/src/org/jboss/soa/esb/connection/ConnectionProperties.java	2006-08-11 15:36:02 UTC (rev 5778)
+++ labs/jbossesb/trunk/product/core/common/src/org/jboss/soa/esb/connection/ConnectionProperties.java	2006-08-11 16:43:04 UTC (rev 5779)
@@ -139,24 +139,24 @@
         String strPoolSize = m_oConnectionProperties.getProperty(MIN_POOL_SIZE);
         if (strPoolSize == null) {
             strPoolSize = System.getProperty(MIN_POOL_SIZE, DEFAULT_MIN_POOL_SIZE);
-            this.m_iMinPoolSize = Integer.parseInt(strPoolSize);
         }
+        this.m_iMinPoolSize = Integer.parseInt(strPoolSize);
     }
 
     private void setMaxPoolSize() {
         String strPoolSize = (String) m_oConnectionProperties.get(MAX_POOL_SIZE);
         if (strPoolSize == null) {
             strPoolSize = System.getProperty(MAX_POOL_SIZE, DEFAULT_MAX_POOL_SIZE);
-            this.m_iMaxPoolSize = Integer.parseInt(strPoolSize);
         }
+        this.m_iMaxPoolSize = Integer.parseInt(strPoolSize);
     }
 
     private void setBlockingConnectionTime() {
         String strBlockTimeMillis = (String) m_oConnectionProperties.get(BLOCKING_CONNECTION_TIME);
         if (strBlockTimeMillis == null) {
             strBlockTimeMillis = System.getProperty(BLOCKING_CONNECTION_TIME, DEFAULT_CONN_BLOCK_TIME_MILLIS);
-            this.m_lConnBlockTime = Integer.parseInt(strBlockTimeMillis);
         }
+        this.m_lConnBlockTime = Integer.parseInt(strBlockTimeMillis);
     }
 
     protected long getConnectionBlockTimeInMillis() {




More information about the jboss-svn-commits mailing list