[
https://issues.apache.org/jira/browse/ARTEMIS-2190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tom Ross updated ARTEMIS-2190:
------------------------------
Issue Type: Bug (was: New Feature)
> Broker 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
> Priority: Major
>
> Broker has a small leak of temporary destination addresses. When temporary
> destination is created, it is added to two lists on ActiveMQConntion. 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)