Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-11610

Core JMS client leaks temporary destination names

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 17.0.0.Beta1, 17.0.0.Final
    • 15.0.1.Final
    • JMS
    • 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);
      }

            ehugonne1@redhat.com Emmanuel Hugonnet
            ehugonne1@redhat.com Emmanuel Hugonnet
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: