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] [Updated] (QPID-5166) Lazily create dispatcher thread in JMS Session implementation
Date Tue, 24 Sep 2013 10:53:05 GMT

     [ https://issues.apache.org/jira/browse/QPID-5166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

David Ingham updated QPID-5166:

    Attachment: QPID-5166.patch

This patch updates SessionImpl to create the dispatcher thread when required rather than at
> 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
>         Attachments: QPID-5166.patch
> 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

View raw message