Hide Forgot
Date of First Response: 2010-01-05 10:26:16 Help Desk Ticket Reference: https://enterprise.redhat.com/issue-tracker/248036 project_key: SOA From Helpdesk ticket - https://enterprise.redhat.com/issue-tracker/248036 Hello, Had a customer ask how to set the thread pool size for an InVM listener. It does not appear to be documented in our programmers guide, though we do document how to set max thread pool size for normal listeners (search for "maxThreads"): http://www.redhat.com/docs/en-US/JBoss_SOA_Platform/4.3.GA/html-single/Programmers_Guide/index.html#sect-SOA_ESB_Programmers_Guide-What_is_a_Service-InVM_Transport By looking through the code (specifically: org.jboss.soa.esb.listeners.config.ESBAwareGenerator), I was able to figure out that the InVM max threads could be set by adding a "maxThreads" property to the service node as shown below: ------------------------------------------------- <service category="myCategory" description="myDescription" invmScope="GLOBAL" name="myName"> <property name="maxThreads" value="10"/> <listeners> <jbr-listener busidref="MyHttpProvider4" is-gateway="true" name="MyHttpGateway" /> </listeners> <actions mep="RequestResponse"> ... </service> ------------------------------------------------- I'm requesting that we update our documentation to show how the maxThreads can be set for an InVM listener. Thank you, Aaron Pestel
Verified in http://documentation-stage.bne.redhat.com/docs/en-US/JBoss_Enterprise_SOA_Platform/5.0.0/html/ESB_Programmers_Guide/sect-SOA_ESB_Programmers_Guide-What_is_a_Service-InVM_Transport.html