[ 
https://issues.apache.org/jira/browse/ARTEMIS-4022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17611040#comment-17611040
 ] 

john lilley edited comment on ARTEMIS-4022 at 9/29/22 1:32 PM:
---------------------------------------------------------------

Thanks Justin.  Yes, I totally understand why you would not change the default. 
 Of course I made a newbie error.  This Jira is just about helping others avoid 
the same newbie error by making more information available.  I did chase my 
tail for a long time, looking at the auto-created status of queues vs the 
auto-delete settings in broker.xml, but once the queues were created their 
non-auto-delete behavior was set.  It was only after a colleague suggested that 
I delete the data folder when everything started auto-deleting and that was the 
aha moment.  There is a line in the documentation that mentions this fact, but 
I hadn't read it yet.


was (Author: [email protected]):
Thanks Justin.  Yes, I totally understand why you would not change the default. 
 Of course I made a newbie error.  This Jira is just about helping others avoid 
the same newbie error y making more information available.

> Display "auto-delete" queue/address status column or attribute in web console
> -----------------------------------------------------------------------------
>
>                 Key: ARTEMIS-4022
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-4022
>             Project: ActiveMQ Artemis
>          Issue Type: New Feature
>          Components: Web Console
>    Affects Versions: 2.25.0
>            Reporter: john lilley
>            Priority: Minor
>
> I discovered the hard way that these settings in {{broker.xml}} are "sticky" 
> – once queues/addresses are created, changing {{broker.xml}} has no effect on 
> them:
> * {{auto-delete-queues}}. Whether or not the broker should automatically 
> delete auto-created queues when they have both 0 consumers and the message 
> count is less than or equal to {{auto-delete-queues-message-count}}. Default 
> is {{true}}.
> * {{auto-delete-addresses}}. Whether or not the broker should automatically 
> delete auto-created addresses once the address no longer has any queues. 
> Default is {{true}}.
> To make matters more confusing, even though the default values are true, the 
> {{broker.xml}} that is generated during setup has these set to {{false}}.
> But that is not the issue.  Just background.  
> The issue is that these attributes are not visible on the web console for 
> queues or addresses.  I cannot select them as columns, nor see them in the 
> attributes list.  Given the above background, it would be helpful to be able 
> to see this.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to