Description
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.
public void addTemporaryQueue(final SimpleString queueAddress) { tempQueues.add(queueAddress); knownDestinations.add(queueAddress); } public void removeTemporaryQueue(final SimpleString queueAddress) { tempQueues.remove(queueAddress); }