Thread Pool improvements on the client
--------------------------------------

         Key: JBMQ-10
         URL: http://jira.jboss.com/jira/browse/JBMQ-10
     Project: JBoss MQ
        Type: Task
  Components: Client  
    Reporter: Adrian Brock


The thread usage on the client needs to be improved.

The users of threads are:
1) The invocation layers for message delivery
2) The message listeners to wait for messages

These should be combinded to use a single thread pool.

There is no need for a message listener to hold a thread while it is waiting 
for a message.
It can add itself to a registry which is then used by delivery to invoke the 
correct listener
when a message arrives.
In fact, by spec the listeners should register themselves with the session and 
the session
deliver the messages (single threadedly - is that a word? :-).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.jboss.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to