Bug 778602 (SOA-1075)

Summary: Request to update our documentation to show how the maxThreads can be set for an InVM listener.
Product: [JBoss] JBoss Enterprise SOA Platform 5 Reporter: Shaun Appleton <sappleto>
Component: DocumentationAssignee: Mark Little <mark.little>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecified   
Target Milestone: ---   
Target Release: 5.0.0 GA, 5.0.0 ER2   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-1075
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-01-05 15:26:16 UTC Type: Feature Request
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Shaun Appleton 2008-12-12 13:21:49 UTC
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