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

Auto-created addresses not cleaned up when using topic hierachies

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.16.0
    • None
    • Broker
    • None

    Description

      Create two topics, "t.*" and "t.123" (all using JMS). Then register two consumers on both "t.*" and "t.123" and send a message to "t.123". If the consumers close both topics are correctly deleted from the broker.
      However, if you do not register a consumer to the more specific topic "t.123" its address will stay in the broker even after the consumer for "t.*" closes. The address "t.*" is correctly deleted, though. Reproducer it attached.

      The problem seems to be that in the second case no "bindingRemovedTimestamp" is set in the corresponding AddressInfo and hence it stays -1 and the address is not eligible for auto-deletion.

      Attachments

        1. Test.java
          2 kB
          Thorsten Meinl

        Activity

          People

            Unassigned Unassigned
            sithmein Thorsten Meinl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: