You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Justin Bertram (JIRA)" <ji...@apache.org> on 2018/12/04 17:01:00 UTC
[jira] [Updated] (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 ]
Justin Bertram updated ARTEMIS-2190:
------------------------------------
Summary: Core JMS client leaks temporary destination names (was: Broker leaks temporary destination 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)