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

Use correct type for collections retrieval

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 5.16.0, 5.15.12
    • Broker
    • 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

              jbonofre Jean-Baptiste Onofré
              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