[
https://issues.apache.org/jira/browse/ARTEMIS-2190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16743442#comment-16743442
]
ASF subversion and git services commented on ARTEMIS-2190:
----------------------------------------------------------
Commit 29abe0d8c17cd5cdf927474f6ef488c47f17a3e2 in activemq-artemis's branch
refs/heads/2.6.x from Justin Graham Bertram
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=29abe0d ]
ARTEMIS-2190 move tests
The "jms-tests" module is deprecated and these tests should have never
gone in there. Moving them to the "integration-tests" module.
(cherry picked from commit d7eb076d4bbde61a68617dfcee0f790ef873b05c)
> 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
> 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)