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

ASF GitHub Bot commented on ARTEMIS-2190:
-----------------------------------------

GitHub user jbertram opened a pull request:

    https://github.com/apache/activemq-artemis/pull/2450

    ARTEMIS-2190 core JMS client leaks temp dest names

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jbertram/activemq-artemis ARTEMIS-2190

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq-artemis/pull/2450.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2450
    
----
commit 13a25c3c83092b12e2fe5469c15369b3c8ddf2d8
Author: Justin Bertram <jbertram@...>
Date:   2018-12-04T17:01:30Z

    ARTEMIS-2190 core JMS client leaks temp dest names

----


> 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
>
> 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)

Reply via email to