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

Core JMS client leaks temporary destination names

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.5, 2.6.0
    • Fix Version/s: 2.6.4, 2.7.0
    • Component/s: None
    • Labels:
      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

            • Assignee:
              jbertram Justin Bertram
              Reporter:
              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