[jboss-jira] [JBoss JIRA] Commented: (JBMESSAGING-1356) Add thread pool for client/server sessions
Tim Fox (JIRA)
jira-events at lists.jboss.org
Tue Nov 4 03:13:31 EST 2008
[ https://jira.jboss.org/jira/browse/JBMESSAGING-1356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12436770#action_12436770 ]
Tim Fox commented on JBMESSAGING-1356:
--------------------------------------
See the linked task - it's already complete in the 1.4 branch
> Add thread pool for client/server sessions
> ------------------------------------------
>
> Key: JBMESSAGING-1356
> URL: https://jira.jboss.org/jira/browse/JBMESSAGING-1356
> Project: JBoss Messaging
> Issue Type: Feature Request
> Components: Messaging Core
> Affects Versions: 1.4.0.SP3.CP02
> Reporter: Jay Howell
> Assignee: Ovidiu Feodorov
> Fix For: Unscheduled
>
>
> The threads named jbm-server-session* and jbm-client-session* should be gotten from a thread pool instead of just being created. There's no way to cap the number of session threads.
> The thread factory is defined in NamedThreadQueuedExecutor as...
> private class Factory implements ThreadFactory
> {
> public Thread newThread(Runnable command)
> {
> return new Thread(jbmGroup, command, name);
> }
>
> }
> This thread factory should really have a thread pool implementation and not just a new thread implementation. This class controls both the server threads and the client threads.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list