You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by brusdev <br...@gmail.com> on 2020/04/16 06:21:11 UTC

[DISCUSS] Connect Artemis CLI to the relative instance

Artemis CLI accesses to the port of the broker through core protocol for many
commands.
However, when several brokers are installed on a single machine, all the
installed `artemis` command for each broker operate only one broker that
have `tcp://localhost:61616` by default.
This behavior is difficult to understand and could lead to incorrect
operations for the different broker.

Artemis CLI could get the relative instance acceptor from the configuration
or use the default url and print a warning if it can not find a valid
acceptor in the relative instance configuration.

What are your thoughts?

Domenico



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-Dev-f2368404.html

Re: [DISCUSS] Connect Artemis CLI to the relative instance

Posted by brusdev <br...@gmail.com>.
I created a JIRA to read the default CLI connector from the related broker,
as suggested by Clebert: https://issues.apache.org/jira/browse/ARTEMIS-2723

Domenico



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-Dev-f2368404.html

Re: [DISCUSS] Connect Artemis CLI to the relative instance

Posted by Clebert Suconic <cl...@gmail.com>.
the CLI has a default connector that you can configure with an option.


The default could be read from the broker where you are related.

On Thu, Apr 16, 2020 at 2:21 AM brusdev <br...@gmail.com> wrote:
>
> Artemis CLI accesses to the port of the broker through core protocol for many
> commands.
> However, when several brokers are installed on a single machine, all the
> installed `artemis` command for each broker operate only one broker that
> have `tcp://localhost:61616` by default.
> This behavior is difficult to understand and could lead to incorrect
> operations for the different broker.
>
> Artemis CLI could get the relative instance acceptor from the configuration
> or use the default url and print a warning if it can not find a valid
> acceptor in the relative instance configuration.
>
> What are your thoughts?
>
> Domenico
>
>
>
> --
> Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-Dev-f2368404.html



-- 
Clebert Suconic