Is it possible to load values for infinispan-config.xml file from some property file so that we can get rid of hard coded values. If possible then can somebody show me the way how i load property file in infinispan-config.xml file because there is no Pre defined tag for configuration.
This is possible by setting respective system properties.
For example here is one specific Infinispan configuration file which is using this approach: https://github.com/infinispan/infinispan/blob/main/core/src/test/resources/configs/string-property-replaced.xml
and here is a test which is working with that file: https://github.com/infinispan/infinispan/blob/main/core/src/test/java/org/infinispan/configuration/StringPropertyReplacementTest.java
This looks to be the most straightforward way how to achieve this. The last thing which needs to be done is to simply read all lines in your configuration file and put them correctly to system properties.