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

Attributes should also be set via environment variables

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Minor
    • 4.0.2
    • None
    • None
    • 0
    • 0% 0%

    Description

      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)

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: