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

Core JMS client leaks temporary destination names

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • None
    • AMQ 7.2.1.GA, AMQ 7.2.2.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
            mnovak1@redhat.com Miroslav Novak
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: