I think the framework could benefit a lot with something like the following:

my.application.templated-property="baseValueWith${myDynamicValue:}injected"

System.out.println(myApplicationProperties.getTemplatedProperty()); //Prints "baseValueWithInjected"
System.setProperties("myDynamicValue","MyProperty");
System.out.println(myApplicationProperties.getTemplatedProperty()); //Prints "baseValueWithMyPropertyInjected"
System.setProperties("myDynamicValue","MyProperty2");
System.out.println(myApplicationProperties.getTemplatedProperty()); //Prints "baseValueWithMyProperty2Injected"

Is this feasible or doable in an easy way by means of an existent framework trick?

Comment From: wilkinsona

Thanks for the suggestion. This is a duplicate of #259.

Comment From: nightswimmings

Ah cool!!! Thanks Andy!