You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by Lionel Cons <li...@cern.ch> on 2016/01/11 13:25:06 UTC
Artemis: incomplete use of ARTEMIS_INSTANCE
Artemis uses only partially the ARTEMIS_INSTANCE environment variable and its
associated artemis.instance Java property.
When creating a new instance with "artemis create mybroker":
(1) etc/artemis.profile contains the expanded ARTEMIS_INSTANCE path hard-coded
in the JAVA_ARGS line, it should use $ARTEMIS_INSTANCE instead
(2) etc/bootstrap.xml contains the expanded ARTEMIS_INSTANCE path hard-coded
in the server's configuration attribute, it should use ${artemis.instance} instead
This way, it would be easier to relocate an Artemis instance.
Cheers,
Lionel
Re: Artemis: incomplete use of ARTEMIS_INSTANCE
Posted by Clebert Suconic <cl...@gmail.com>.
https://github.com/apache/activemq-artemis/pull/309
On Mon, Jan 11, 2016 at 7:25 AM, Lionel Cons <li...@cern.ch> wrote:
> Artemis uses only partially the ARTEMIS_INSTANCE environment variable and its
> associated artemis.instance Java property.
>
> When creating a new instance with "artemis create mybroker":
>
> (1) etc/artemis.profile contains the expanded ARTEMIS_INSTANCE path hard-coded
> in the JAVA_ARGS line, it should use $ARTEMIS_INSTANCE instead
>
> (2) etc/bootstrap.xml contains the expanded ARTEMIS_INSTANCE path hard-coded
> in the server's configuration attribute, it should use ${artemis.instance} instead
>
> This way, it would be easier to relocate an Artemis instance.
>
> Cheers,
>
> Lionel
--
Clebert Suconic