Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-2166

Attributes should also be set via environment variables

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Minor Minor
    • 4.0.2
    • None
    • None

      Currently, an attribute such as mcast_port=${my.mcast_port:7500} is set to 7500 by default. If there is a system property my.mcast_port, 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)

              rhn-engineering-bban Bela Ban
              rhn-engineering-bban Bela Ban
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: