[jboss-cvs] JBossAS SVN: r96082 - branches/JBPAPP_4_2_0_GA_CP/ejb3/src/resources/META-INF.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri Nov 6 00:45:21 EST 2009
Author: ron_sigal
Date: 2009-11-06 00:45:20 -0500 (Fri, 06 Nov 2009)
New Revision: 96082
Modified:
branches/JBPAPP_4_2_0_GA_CP/ejb3/src/resources/META-INF/jboss-service.xml
Log:
JBPAPP-2248: Added "invokerDestructionDelay" parameter to InvokerLocator.
Modified: branches/JBPAPP_4_2_0_GA_CP/ejb3/src/resources/META-INF/jboss-service.xml
===================================================================
--- branches/JBPAPP_4_2_0_GA_CP/ejb3/src/resources/META-INF/jboss-service.xml 2009-11-06 05:38:32 UTC (rev 96081)
+++ branches/JBPAPP_4_2_0_GA_CP/ejb3/src/resources/META-INF/jboss-service.xml 2009-11-06 05:45:20 UTC (rev 96082)
@@ -9,7 +9,8 @@
<mbean code="org.jboss.remoting.transport.Connector"
name="jboss.remoting:type=Connector,name=DefaultEjb3Connector,handler=ejb3">
<depends>jboss.aop:service=AspectDeployer</depends>
- <attribute name="InvokerLocator">socket://${jboss.bind.address}:3873</attribute>
+ <!-- Setting invokerDestructionDelay can help to preserve connections for reuse. -->
+ <attribute name="InvokerLocator">socket://${jboss.bind.address}:3873/?invokerDestructionDelay=5000</attribute>
<attribute name="Configuration">
<handlers>
<handler subsystem="AOP">org.jboss.aspects.remoting.AOPRemotingInvocationHandler</handler>
@@ -31,6 +32,7 @@
<attribute name="serverBindAddress">${jboss.bind.address}</attribute>
<attribute name="serverBindPort">3873</attribute>
<attribute name="backlog">200</attribute>
+ <attribute name="invokerDestructionDelay" isParam="true">5000</attribute>
</invoker>
<handlers>
<handler subsystem="AOP">org.jboss.aspects.remoting.AOPRemotingInvocationHandler</handler>
More information about the jboss-cvs-commits
mailing list