You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Thorsten Meinl (Jira)" <ji...@apache.org> on 2021/03/10 10:23:00 UTC
[jira] [Created] (ARTEMIS-3171) Auto-created addresses not cleaned
up when using topic hierachies
Thorsten Meinl created ARTEMIS-3171:
---------------------------------------
Summary: Auto-created addresses not cleaned up when using topic hierachies
Key: ARTEMIS-3171
URL: https://issues.apache.org/jira/browse/ARTEMIS-3171
Project: ActiveMQ Artemis
Issue Type: Bug
Components: Broker
Affects Versions: 2.16.0
Reporter: Thorsten Meinl
Attachments: Test.java
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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)