You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "clebert suconic (JIRA)" <ji...@apache.org> on 2019/01/18 02:20:04 UTC

[jira] [Closed] (ARTEMIS-2190) Core JMS client leaks temporary destination names

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

clebert suconic closed ARTEMIS-2190.
------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.6.4
                   2.7.0

> Core JMS client leaks temporary destination names
> -------------------------------------------------
>
>                 Key: ARTEMIS-2190
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2190
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 1.5.5, 2.6.0
>            Reporter: Tom Ross
>            Assignee: Justin Bertram
>            Priority: Major
>             Fix For: 2.7.0, 2.6.4
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The core JMS client leaks the {{SimpleString}} identifiers for temporary destinations. When a temporary JMS destination is created it is added to two lists on {{ActiveMQConnection}}, but when it is deleted it is only removed from one list.
> {code:java}
> public void addTemporaryQueue(final SimpleString queueAddress) {
>  tempQueues.add(queueAddress);
>  knownDestinations.add(queueAddress);
> }
> public void removeTemporaryQueue(final SimpleString queueAddress) {
>  tempQueues.remove(queueAddress);
> }{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)