Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-14336

Infinispan cannot handle more than 2 variables in a JGroups attribute value

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Unresolved
    • Minor
    • None
    • 15.0.0.Dev01
    • Core
    • 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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: