[
https://issues.apache.org/jira/browse/ARTEMIS-5553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17987996#comment-17987996
]
ASF subversion and git services commented on ARTEMIS-5553:
----------------------------------------------------------
Commit 42c518b478f85b2dfac3348c505dfb3be2ffd2b6 in activemq-artemis's branch
refs/heads/main from Justin Bertram
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=42c518b478 ]
ARTEMIS-5553 update default management address-settings match
> 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
> 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