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

Use correct type for collections retrieval

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.16.0, 5.15.12
    • Component/s: Broker
    • Labels:
      None

      Description

      There are a few instances where we are using the wrong (object) type with collections:

      • Queue - browserDispatches.remove(sub) will always fail as the list holds different objects
      • KahaDbStore - storeCache.get(convert(activeMQDestination)) will always fail as the destination needs to be converted to a key first
      • MQTTProtocolConverter - activeMQDestinationMap.get(command.topicName()) - should be using toString() here instead.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jbonofre Jean-Baptiste Onofré
                Reporter:
                coheigea Colm O hEigeartaigh
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m