[jboss-svn-commits] JBL Code SVN: r36884 - labs/jbossesb/branches/JBESB_4_4_GA_CP/product/rosetta/src/org/jboss/internal/soa/esb/rosetta/pooling.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Mon Apr 11 16:51:33 EDT 2011


Author: tcunning
Date: 2011-04-11 16:51:33 -0400 (Mon, 11 Apr 2011)
New Revision: 36884

Modified:
   labs/jbossesb/branches/JBESB_4_4_GA_CP/product/rosetta/src/org/jboss/internal/soa/esb/rosetta/pooling/SessionExecutorInit.java
Log:
JBESB-3598
Remove contents of SessionExecutorInit.initExecutor - now that
the restart method has been removed from JBoss Messaging it is unneeded
overhead.


Modified: labs/jbossesb/branches/JBESB_4_4_GA_CP/product/rosetta/src/org/jboss/internal/soa/esb/rosetta/pooling/SessionExecutorInit.java
===================================================================
--- labs/jbossesb/branches/JBESB_4_4_GA_CP/product/rosetta/src/org/jboss/internal/soa/esb/rosetta/pooling/SessionExecutorInit.java	2011-04-11 14:10:24 UTC (rev 36883)
+++ labs/jbossesb/branches/JBESB_4_4_GA_CP/product/rosetta/src/org/jboss/internal/soa/esb/rosetta/pooling/SessionExecutorInit.java	2011-04-11 20:51:33 UTC (rev 36884)
@@ -47,24 +47,11 @@
      */
     public static void initExecutor(final Session session)
     {
-        try
-        {
-            if (session instanceof JBossSession)
-            {
-                final JBossSession jbossSession = (JBossSession)session ;
-                final SessionDelegate sessionDelegate = jbossSession.getDelegate() ;
-                if (sessionDelegate instanceof ClientSessionDelegate)
-                {
-                    final ClientSessionDelegate clientSessionDelegate = (ClientSessionDelegate)sessionDelegate ;
-                    final HierarchicalState state = clientSessionDelegate.getState() ;
-                    if (state instanceof SessionState)
-                    {
-                        final SessionState sessionState = (SessionState)state ;
-                        sessionState.getExecutor().restart() ;
-                    }
-                }
-            }
-        }
-        catch (final Throwable th) {} // Hide all errors 
+	// JBESB-3598
+	// The restart method has been removed from messaging, which 
+	// meant that this method was not doing anything, since all threads
+	// are now daemon threads.   Leaving this method blank for now,
+	// wholesale removing it within the scope of a CP release seems
+	// bad policy. 
     }
 }



More information about the jboss-svn-commits mailing list