I need to set up Hazelcast session caching using Spring. Using the configuration from the hazelcast docs is simple. However, its insufficient. I need to use a different c
Why dont you jat put in src/main/resources a file per environement. So that you have: dev.properties,qa.properties,prod.properties
use an environement variable such as ENV. which in my situation i have put ENV=dev and then inside my spring-servlet.xml i have:
classpath:/${SERVER_ENV}.hazelcast.properties
and then in the same file i use properties this way:
${hz.instance.name}
${hz.members}