Uploaded image for project: 'ActiveMQ'
  1. ActiveMQ
  2. AMQ-2213

Equals method return wrong result for TopicSession / QueueSession

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.2.0
    • Fix Version/s: 5.5.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      All

      Description

      The equals method return false even when it is executed on the same object for the specialized classes of Session (TopicSession, QueueSession). If those objects are held within a List, the contains method would return false even if the object in question is already in the list.

      This is a minor issue as the cleanups are normally done on the connection level and users shouldn't need to keep track of open sessions for a later cleanup.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              atooni Andreas Gies
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: