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

Robbie Gemmell commented on ARTEMIS-5056:
-----------------------------------------

It was not an oversight on ARTEMIS-3417, it is even noted in the opening 
sentence of the Jira ("This is not to change defaults anywhere.. Just changing 
the default broker.xml"), albeit less obviously than it perhaps could have been.

The setting _default_ value, if nothing is specified in the XML, is what that 
documentation page has always been referencing (albeit you have interpretted it 
a different, understandable, way). It actually is accurate in that regard. The 
not-specified default setting value is true.

The 'XML config created by the CLI, by default' has it explicitly set to false 
these days due to ARTEMIS-3417, because it was recognised the default gave poor 
out-the-box behaviour and so the XML created was changed to configure it to be 
false for new instances created going forward. The code default remained 
unchanged though so as to not break behaviour for existing configs that had 
existed for many many years for anyone using prior unchanged XML configs on 
upgrade but who actually did want the value to be true but potentially had not 
specified that.

It is not a bug in the sense of unintended behaviour. I agree it is confusing 
though and the documentation could be improved to make things clearer, so I'll 
leave the Jira open but tweak it a little.

> Auto-delete queues/addresses default doesn't match documentation
> ----------------------------------------------------------------
>
>                 Key: ARTEMIS-5056
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-5056
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Vilius Ĺ umskas
>            Priority: Minor
>
> Documentation here 
> [https://activemq.apache.org/components/artemis/documentation/latest/address-settings.html]
>  states that `auto-delete-queues` and `auto-delete-addresses` is `true` by 
> default however if you create a broker via CLI it is `false`.
> Maybe this was an oversight in 
> https://issues.apache.org/jira/browse/ARTEMIS-3417 but this is very confusing 
> and I consider it a bug.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to