You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Erwin Dondorp (Jira)" <ji...@apache.org> on 2021/07/06 00:30:00 UTC

[jira] [Commented] (ARTEMIS-3378) management address is configurable, but only the default "activemq.management" works properly

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

Erwin Dondorp commented on ARTEMIS-3378:
----------------------------------------

My initial list was much longer, but after removing all {{src/main/test}} and {{example}} directories, I get the same list.

Initially I had even more problems with this. Turned out I used the `artemis` command from a different broker instance. At that time I did not realise that some of the details were read from `broker.xml`...

I did not investigate the {{XmlDataImporter}} internals, just noticing the exception for that one, but would it be possible to use {{broker.xml}} there too? (no priority for me though, as I don't need importers and also not using xml)

> management address is configurable, but only the default "activemq.management" works properly
> ---------------------------------------------------------------------------------------------
>
>                 Key: ARTEMIS-3378
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3378
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Configuration
>    Affects Versions: 2.17.0
>            Reporter: Erwin Dondorp
>            Priority: Minor
>
> Both the "notifications" address and the "management" address are configurable through `broker.xml` by using the options `<management-notification-address>` and `<management-address>`.
> For the "notifications" address there are no problems.
> But the "management" address only works when it has the value `activemq.management` (the default).
> This can be verified using: `artemis user list` or `artemis queue stat`, etc.
> browsing through the source code reveals that there are many places where a hardcoded value "activemq.management" exist (the notification address value "activemq.notifications" only exists as a default value and has no other occurances).
> I want to change this address for 2 reasons: (1) I want all internal addresses to be prefixed with `$.` so that they group nicely in the gui and are recognizable as internal; and (2) I want to use `/` as delimiter and use it also in internal addresses.



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