[ 
https://issues.apache.org/jira/browse/AMQ-7376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17033148#comment-17033148
 ] 

ASF subversion and git services commented on AMQ-7376:
------------------------------------------------------

Commit ccbc77aae13d16ed505befc7f0fd49337d8fe293 in activemq's branch 
refs/heads/activemq-5.15.x from Colm O hEigeartaigh
[ https://gitbox.apache.org/repos/asf?p=activemq.git;h=ccbc77a ]

AMQ-7376 - Use correct type for collections retrieval

(cherry picked from commit 675fb7bcae3a84c9fcbb1e35506fd688066fc59e)


> 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: 40m
>  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