[ 
https://issues.apache.org/jira/browse/ARTEMIS-5553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Timothy A. Bish resolved ARTEMIS-5553.
--------------------------------------
    Fix Version/s: 2.42.0
       Resolution: Fixed

> Update default management address-settings match 
> -------------------------------------------------
>
>                 Key: ARTEMIS-5553
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-5553
>             Project: ActiveMQ Artemis
>          Issue Type: Task
>            Reporter: Justin Bertram
>            Assignee: Justin Bertram
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 2.42.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> The current default {{match}} for management-related {{address-settings}} is:
> {noformat}
> activemq.management#{noformat}
> This match technically works, but it actually isn't valid syntax. As the 
> documentation states:
> {quote}
> An Apache ActiveMQ Artemis wildcard expression contains *words separated by a 
> delimiter*. The default delimiter is {{.}} (full stop).
> The special characters {{#}} and {{\*}} also have special meaning and can 
> take the place of a *word*.
> To be clear, the wildcard characters cannot be used like wildcards in a 
> regular expression. They operate exclusively on *words separated by a 
> delimiter*.
> ...
> The character {{#}} means "match any sequence of zero or more words".
> So the wildcard {{news.europe.#}} would match:
> * {{news.europe}}
> * {{news.europe.sport}}
> * {{news.europe.politics}}
> * {{news.europe.politics.regional}}{quote}
> Therefore we should use the match:
> {noformat}
> activemq.management.#{noformat}



--
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