[
https://issues.apache.org/jira/browse/ARTEMIS-2190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16721306#comment-16721306
]
ASF subversion and git services commented on ARTEMIS-2190:
----------------------------------------------------------
Commit 496e348599306e60c308bf6008ebdcac2fb9750c in activemq-artemis's branch
refs/heads/2.6.x from [~jbertram]
[ https://git-wip-us.apache.org/repos/asf?p=activemq-artemis.git;h=496e348 ]
ARTEMIS-2190 core JMS client leaks temp dest names
(cherry picked from commit 4ab7923a84230545b1f9eada0b9e595d5c94dc11)
> 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)