Uploaded image for project: 'Qpid JMS'
  1. Qpid JMS
  2. QPIDJMS-104

avoid iterating a likely-empty collection on arrival of each message

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.4.0
    • 0.5.0
    • qpid-jms-client
    • None

    Description

      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.

      Attachments

        Activity

          People

            robbie Robbie Gemmell
            robbie Robbie Gemmell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: