[
https://issues.apache.org/jira/browse/QPIDJMS-104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14716450#comment-14716450
]
ASF subversion and git services commented on QPIDJMS-104:
---------------------------------------------------------
Commit cf492a102ad16a6ad9116f61650666054c6c53f6 in qpid-jms's branch
refs/heads/master from Robert Gemmell
[ https://git-wip-us.apache.org/repos/asf?p=qpid-jms.git;h=cf492a1 ]
QPIDJMS-104: avoid iterating listeners on message arrival if the collection is
empty
> 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]