[jboss-cvs] JBoss Messaging SVN: r3195 - trunk/src/etc/remoting.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Oct 18 04:49:34 EDT 2007


Author: timfox
Date: 2007-10-18 04:49:34 -0400 (Thu, 18 Oct 2007)
New Revision: 3195

Modified:
   trunk/src/etc/remoting/remoting-bisocket-service.xml
Log:
Tuning remoting config


Modified: trunk/src/etc/remoting/remoting-bisocket-service.xml
===================================================================
--- trunk/src/etc/remoting/remoting-bisocket-service.xml	2007-10-16 21:02:14 UTC (rev 3194)
+++ trunk/src/etc/remoting/remoting-bisocket-service.xml	2007-10-18 08:49:34 UTC (rev 3195)
@@ -24,13 +24,22 @@
                <attribute name="timeout" isParam="true">0</attribute>
                <attribute name="serverBindAddress">${jboss.bind.address}</attribute>
                <attribute name="serverBindPort">4457</attribute>
-               <attribute name="leasePeriod">10000</attribute>
+               <attribute name="clientLeasePeriod" isParam="true">10000</attribute>
                <attribute name="clientSocketClass" isParam="true">org.jboss.jms.client.remoting.ClientSocketWrapper</attribute>
                <attribute name="serverSocketClass" isParam="true">org.jboss.jms.server.remoting.ServerSocketWrapper</attribute>
-               <attribute name="numberOfRetries" isParam="true">1</attribute>
+
+              <!-- Number of seconds to wait for a connection in the client pool to become free -->
+               <attribute name="numberOfRetries" isParam="true">10</attribute>
+
+             <!-- NUmber of times to retry an ionvocation -->
                <attribute name="numberOfCallRetries" isParam="true">1</attribute>
-               <attribute name="clientMaxPoolSize" isParam="true">50</attribute>
-               <attribute name="pingFrequency" isParam="true">100000000</attribute>
+             <!-- Max Number of connections in client pool. This should be significantly higher than the max number of sessions/consumers you expect -->
+               <attribute name="clientMaxPoolSize" isParam="true">200</attribute>
+               <attribute name="pingFrequency" isParam="true">214748364</attribute>
+
+               <attribute name="pingWindowFactor" isParam="true">10</attribute>
+
+               <attribute name="onewayThreadPool">org.jboss.jms.server.remoting.DirectThreadPool</attribute>
             </invoker>
             <handlers>
                <handler subsystem="JMS">org.jboss.jms.server.remoting.JMSServerInvocationHandler</handler>




More information about the jboss-cvs-commits mailing list