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/07/05 23:56:00 UTC

[jira] [Commented] (ARTEMIS-3378) DRAFT 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=17375064#comment-17375064 ] 

Justin Bertram commented on ARTEMIS-3378:
-----------------------------------------

FWIW, I took a look at the source and there are 3 relevant places where {{activemq.management}} is hard-coded:
 * {{org.apache.activemq.artemis.cli.commands.AbstractAction}} - this could be fixed by adding a command-line parameter to make it configurable and reading the value from {{broker.xml}} as is done for the {{url}} command-line parameter
 * {{org.apache.activemq.artemis.core.server.impl.ScaleDownHandler}} - this could be fixed simply by using the value configured in {{broker.xml}}
 * {{org.apache.activemq.artemis.cli.commands.tools.xml.XmlDataImporter}} - this could be fixed by adding a command-line parameter

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