qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Ingham (JIRA)" <j...@apache.org>
Subject [jira] [Created] (QPID-5166) Lazily create dispatcher thread in JMS Session implementation
Date Tue, 24 Sep 2013 10:51:02 GMT
David Ingham created QPID-5166:
----------------------------------

             Summary: Lazily create dispatcher thread in JMS Session implementation
                 Key: QPID-5166
                 URL: https://issues.apache.org/jira/browse/QPID-5166
             Project: Qpid
          Issue Type: Improvement
          Components: Java Client
    Affects Versions: 0.24
         Environment: Qpid JMS AMQP 1.0 client library (v0.24)
            Reporter: David Ingham
            Priority: Minor


The implementation of JMS Session uses a thread to dispatch messages to message listeners.
This thread is created on instantiation of the Session even though it is only required if
the application goes on to create a MessageConsumer with a MessageListener from the Session.
For environments that create lots of Sessions with only MessageProducers then this is an unnecessary
overhead. The recommendation is to change the Session implementation to only create these
dispatcher threads when required. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message