Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-2190

Core JMS client leaks temporary destination names

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • AMQ 7.2.3.GA
    • AMQ 7.2.0.GA
    • broker-core
    • None

      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);
      }

              rhn-support-jbertram Justin Bertram
              rhn-support-toross Tom Ross
              Michal Toth Michal Toth
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: