[ 
https://issues.apache.org/jira/browse/AMQ-7376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Baptiste Onofré updated AMQ-7376:
--------------------------------------
    Component/s: Broker

> Use correct type for collections retrieval
> ------------------------------------------
>
>                 Key: AMQ-7376
>                 URL: https://issues.apache.org/jira/browse/AMQ-7376
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>            Reporter: Colm O hEigeartaigh
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>             Fix For: 5.16.0, 5.15.12
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to