[
https://issues.apache.org/jira/browse/ARTEMIS-851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15668145#comment-15668145
]
ASF GitHub Bot commented on ARTEMIS-851:
----------------------------------------
GitHub user clebertsuconic opened a pull request:
https://github.com/apache/activemq-artemis/pull/888
ARTEMIS-851 Allowing broker configuration to be changed through system
properties
This will use Bean Utilities to change propertyes at the main configuration.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/clebertsuconic/activemq-artemis broker-config
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/activemq-artemis/pull/888.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #888
----
commit b4e0a24d1bbe9a40b81240bf15ce6f14c4da6472
Author: Clebert Suconic <[email protected]>
Date: 2016-11-15T20:10:49Z
ARTEMIS-851 Allowing broker configuration to be changed through system
properties
This will use Bean Utilities to change propertyes at the main configuration.
----
> Parse System.properties as Configuration
> ----------------------------------------
>
> Key: ARTEMIS-851
> URL: https://issues.apache.org/jira/browse/ARTEMIS-851
> Project: ActiveMQ Artemis
> Issue Type: Improvement
> Affects Versions: 1.5.0
> Reporter: clebert suconic
> Assignee: clebert suconic
> Fix For: 1.6.0
>
>
> When adding new properties to the configuration, some times users can't
> change their configuration and would only be able to add stuff through
> system.properties.
> I'm adding a new enhancement where System properties with a given prefix will
> be set through BeanUtils on the configuration.
> The System property will always replace whatever was defined within the XML,
> which will also be useful to eventually change behaviours for temporary tests.
> I am planning to also log.info on replaced properties...
> The prefix will be configurable, with the default being brokerconfig.
> That way you will have:
> For example: if you want to configure FailbackDelay on the configuration with
> a system property you would do:
> -Dbrokerconfig.failbackDelay=5000
> There will be a property configuration where users can change the prefix.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)