Red Hat Bugzilla – Bug 814142
Enable dynamic configuration of MessageAwareListener thread pool
Last modified: 2013-01-10 21:14:34 EST
Description of problem:
Feature request is to enable the ability to dynamically configure the number of threads in the MessageAwareListener thread pool and have this exposed through the service MBean.
It should be possible to increase and decrease the number of threads in the MessageAwareListener thread pool through the MBean exposed via the console.
Functionality addressed through JBESB-3785
The functionality is working in the SOA Platform and QA verifies that.
However QA would like to address the documentation because in the current state it is hard to understand.
Suggested change to the section name: "Configuration of Thread Pool for ESB Aware JMS Listener"
Suggested changes to the section content:
For better throughoutput it is already possible to use the "maxThreads" property for ESB Aware Listeners (see Programmers guide) to statically set the maximum number of concurrent threads for processing of the ESB messages.
This basic setting may be insufficient when the Service is under heavy load or experiences peaks of load. Therefore it is possible to also configure more sophisticated thread pool for the ESB Aware Listener. By configuring the thread pool the user can set minimum and maximum thread count and SOA Platform will dynamically create threads based on actual load.
The configuration itself is done by using MBean (configurable from JMX-Console under the MBean of the deployed Service). The configuration methods are: setMinimumThreadPoolCount, setMaximumThreadPoolCount. By setting the thread pool the "maxThreads" properoperty will work as an initial thread count.
Another suggested changes: The maxThreads is closely related to this "thread pool" functionality. It would be nice to make references to this "thread pool" functionality in the programmers guide (beside the maxThreads descriptions).