Justin Bertram created ARTEMIS-5553:
---------------------------------------
Summary: 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
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