You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Robbie Gemmell (JIRA)" <ji...@apache.org> on 2015/08/27 12:33:45 UTC

[jira] [Created] (QPIDJMS-104) avoid iterating a likely-empty collection on arrival of each message

Robbie Gemmell created QPIDJMS-104:
--------------------------------------

             Summary: avoid iterating a likely-empty collection on arrival of each message
                 Key: QPIDJMS-104
                 URL: https://issues.apache.org/jira/browse/QPIDJMS-104
             Project: Qpid JMS
          Issue Type: Bug
          Components: qpid-jms-client
    Affects Versions: 0.4.0
            Reporter: Robbie Gemmell
            Assignee: Robbie Gemmell
            Priority: Minor
             Fix For: 0.5.0


There is a connection listener mechanism to allow listening for certain events about the connection, one of these being the arrival of a message. Given it is likely the listener collection may be empty, we should avoid attempting to iterate the collection on the arrival of each message if there are actually no listeners.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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