-
1. Re: Setting Threads in Http Gateway
joe_boy12 Jul 24, 2013 4:29 PM (in response to thayes)1 of 1 people found this helpfulwe did this way for INVM
<service category="Chapter5Sample" description="Chapter5 B Service" invmScope="GLOBAL" name="Chapter5BService">
<property name="maxThreads" value="5"/>
<property name="inVMLockStep" value="true"/>
<property name="inVMLockStepTimeout" value="4000"/>
<actions mep="OneWay">
<action class="org.jboss.soa.esb.samples.chapter5.MyAction" name="lockStepAction" process="lockStepAction"/>
<action class="org.jboss.soa.esb.actions.SystemPrintln" name="printMessage">
<property name="message" value="Incoming to B"/>
</action>
</actions>
</service>and this way for JMS
<listeners>
<jms-listener name="my-jms-channel" busidref="MyGatewayChannel" is-gateway="true" maxThreads="5"/>
<jms-listener name="my-esb-channel" busidref="MyESBChannel" maxThreads="5"/>
</listeners>Never tried on what happens if gateway thread count is more than ESB thread count.
-
2. Re: Setting Threads in Http Gateway
tcunning Jul 24, 2013 5:03 PM (in response to thayes)This page has a pretty good summary of setting threads on listeners / HTTP Gateway. Instead of setting a maxThreads property on the http-gateway, I think you need to set the maxThreads property on the Tomcat connector :
[url]https://community.jboss.org/wiki/JBossESBPerformanceTuning[/url]