[jboss-jira] [JBoss JIRA] (JGRP-2166) Attributes should also be set via environment variables

Bela Ban (JIRA) issues at jboss.org
Fri Mar 24 11:14:00 EDT 2017


Bela Ban created JGRP-2166:
------------------------------

             Summary: Attributes should also be set via environment variables
                 Key: JGRP-2166
                 URL: https://issues.jboss.org/browse/JGRP-2166
             Project: JGroups
          Issue Type: Feature Request
            Reporter: Bela Ban
            Assignee: Bela Ban
            Priority: Minor
             Fix For: 4.0.2


Currently, attributes such as {{mcast_port=${my.mcast_port:7500}}} are set to 7500 by default. If there is a system property {{my.mcast_port}}, then it will override the port.

We should also look for environment values; the precedence would be

* If there is a system property, use it
* If not, if there is an environment variable, use it // this is new
* Else use the configured value (e.g. 7500)



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list