You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Justin Bertram (Jira)" <ji...@apache.org> on 2021/03/10 16:17:00 UTC

[jira] [Resolved] (ARTEMIS-3167) addresses with * wildcard(s) are shown with additional backslash(es)

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

Justin Bertram resolved ARTEMIS-3167.
-------------------------------------
    Resolution: Not A Bug

The names used in the object tree come from the underlying JMX objects exposed by the broker. The names of these JMX objects have to follow certain rules in order to be valid. The broker uses {{[javax.management.ObjectName#quote(String)|https://docs.oracle.com/en/java/javase/11/docs/api/java.management/javax/management/ObjectName.html#quote(java.lang.String)]}} to ensure the names are valid. As the JavaDoc states:
bq. An asterisk ('*') is replaced by a backslash ({{&#92;}}) followed by an asterisk.
As I understand it, this object tree is provided by Hawtio itself which means ActiveMQ Artemis has no direct control over how it renders the JMX object names.

> addresses with * wildcard(s) are shown with additional backslash(es)
> --------------------------------------------------------------------
>
>                 Key: ARTEMIS-3167
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3167
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Web Console
>    Affects Versions: 2.17.0
>            Reporter: Erwin Dondorp
>            Priority: Minor
>         Attachments: image-2021-03-08-18-40-56-245.png
>
>
> When an address with a wildcard "*" is created, it is shown in the object-tree with a backslash.
> This does not happen for the other wildcard character "#".
> e.g. "e.\*.\*.y" is shown with 2 backslashes as  !image-2021-03-08-18-40-56-245.png! . but "z.#" is shown as expected.
>   



--
This message was sent by Atlassian Jira
(v8.3.4#803005)