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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to