[Jboss-cvs] JBossAS SVN: r56817 - branches/JBoss_4_0_3_SP1_JBAS_3511/server/src/main/org/jboss/jms/asf

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Sep 13 16:28:29 EDT 2006


Author: weston.price at jboss.com
Date: 2006-09-13 16:28:28 -0400 (Wed, 13 Sep 2006)
New Revision: 56817

Modified:
   branches/JBoss_4_0_3_SP1_JBAS_3511/server/src/main/org/jboss/jms/asf/StdServerSessionPool.java
Log:
[JBAS-3511] Improvements for ASF integration, pool management, idle session collection
as and dynamic allocation.

Modified: branches/JBoss_4_0_3_SP1_JBAS_3511/server/src/main/org/jboss/jms/asf/StdServerSessionPool.java
===================================================================
--- branches/JBoss_4_0_3_SP1_JBAS_3511/server/src/main/org/jboss/jms/asf/StdServerSessionPool.java	2006-09-13 19:43:30 UTC (rev 56816)
+++ branches/JBoss_4_0_3_SP1_JBAS_3511/server/src/main/org/jboss/jms/asf/StdServerSessionPool.java	2006-09-13 20:28:28 UTC (rev 56817)
@@ -418,29 +418,6 @@
       return transacted;
    }
    
-   void recycleIdleSession(StdServerSession session)
-   {
-      
-	  if (session.getHasPermit()) 
-	  {
-		  session.setHasPermit(false);
-		  permits.release();
-	  }
-	  
-      synchronized (sessionPool)
-      {
-         session.close();
-         sessionPool.remove(session);
-         numServerSessions--;
-         counter.timedOut();
-         
-      }
-
-      //Make sure we don't allow the pool to fall below the minimum
-      if(!closing && minSize > 0)
-         JmsSessionPoolFiller.fillPool(this);
-   }
-   
    public void fillToMin() throws JMSException
    {
 	  




More information about the jboss-cvs-commits mailing list