[jboss-jira] [JBoss JIRA] (WFLY-11610) Core JMS client leaks temporary destination names
James Perkins (Jira)
issues at jboss.org
Tue May 21 09:24:01 EDT 2019
[ https://issues.jboss.org/browse/WFLY-11610?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Perkins resolved WFLY-11610.
----------------------------------
Fix Version/s: 17.0.0.Beta1
Resolution: Done
> Core JMS client leaks temporary destination names
> -------------------------------------------------
>
> Key: WFLY-11610
> URL: https://issues.jboss.org/browse/WFLY-11610
> Project: WildFly
> Issue Type: Bug
> Components: JMS
> Affects Versions: 15.0.1.Final
> Environment: Red Hat JBoss Enterprise Application Platform
> 7.1.5/7.2.0.GA
> Reporter: Emmanuel Hugonnet
> Assignee: Emmanuel Hugonnet
> Priority: Critical
> Fix For: 17.0.0.Beta1
>
>
> 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.12.1#712002)
More information about the jboss-jira
mailing list