You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by "Steigerwald, Aaron" <as...@brandesassociates.com.INVALID> on 2022/04/26 05:07:08 UTC
auto-create queue persistence and scale down behavior
Hello,
Should empty auto-created queues and/or topics persist broker restarts with this setting?-
<address-setting match="#">
<auto-delete-queues>false</auto-delete-queues>
...
It doesn't seem to in 2.21.0. Setting <auto-delete-addresses>false</auto-delete-addresses> seems to persist auto-created addresses but empty auto-created queues and topics are still deleted.
Also, setting <auto-delete-queues>false</auto-delete-queues> seems to prevent messages from scaling down to specified broker, which is server-connector-2-master in the following example-
<ha-policy>
<live-only>
<scale-down>
<connectors>
<connector-ref>server-connector-2-master</connector-ref>
</connectors>
</scale-down>
</live-only>
</ha-policy>
No logs are generated on server-connector-2-master when scale down occurs and <auto-delete-queues>false</auto-delete-queues> is set. It works as expected when set to true (the default).
Is this expected behavior?
Thank you,
Aaron Steigerwald