Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-2190

Core JMS client leaks temporary destination names

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5.5, 2.6.0
    • 2.6.4, 2.7.0
    • None
    • None

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

      Attachments

        Activity

          People

            jbertram Justin Bertram
            raggz Tom Ross
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 10m
                10m