I need to get a Properties object into my spring bean so I can iterate over all the properties. I have the following in my spring test file so test properties override production properties like 10.x.x.x to 0.0.0.0 as a bind address
<context:property-placeholder location="esb-project-config.properties, test-esb-project-config.properties"/>
How to get the properties file injected that represents the properties of the final resulting set of those two files?
thanks,
Dean
You can create a properties bean and refer to it by id:
Properties from files listed later in the list take precedence over listed earlier.