Details
-
Enhancement
-
Resolution: Unresolved
-
Minor
-
None
-
15.0.0.Dev01
-
None
Description
When Infinispan creates a JGroups channel and encounters the following attribute in the JGroups config:
initial_hosts="${tcpping.initial_hosts_control,env.INITIAL_HOSTS,INITIAL_HOSTS:127.0.0.1[7900]}"
, and the environment variable INITIAL_HOSTS is set, it doesn't use the env variable, but instead falls back to the default value of 127.0.0.1[7800].
A simple solution to support more than 2 variables would be to drop the complicated StringPropertyReplacer.replaceProperties() and use something like Util.substituteVariable() in JGroups.