Bug 814142 - Enable dynamic configuration of MessageAwareListener thread pool
Summary: Enable dynamic configuration of MessageAwareListener thread pool
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: JBoss Enterprise SOA Platform 5
Classification: JBoss
Component: JBossESB
Version: 5.3.0 GA
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 5.3.0 GA
Assignee: Kevin Conner
QA Contact: Martin Vecera
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-19 10:05 UTC by kconner
Modified: 2025-02-10 03:19 UTC (History)
2 users (show)

Fixed In Version: 5.3.0
Clone Of:
Environment:
Last Closed: 2025-02-10 03:19:38 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBESB-3785 0 Major Closed Enable dynamic configuration of MessageAwareListener thread pool 2013-11-07 11:17:12 UTC

Description kconner 2012-04-19 10:05:35 UTC
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.

Expected results:

It should be possible to increase and decrease the number of threads in the MessageAwareListener thread pool through the MBean exposed via the console.

Comment 1 kconner 2012-05-24 19:02:48 UTC
Functionality addressed through JBESB-3785

Comment 2 Filip Nguyen 2012-06-15 11:25:06 UTC
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).

Comment 4 Red Hat Bugzilla 2025-02-10 03:19:38 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.


Note You need to log in before you can comment on or make changes to this bug.