Can I get the value from a properties file where the value of the key to properties file entity is stored in a variable (contants Class)?
Structure is like: properties file
x.y.z=123
Constant file
public static final String abc = "x.y.z";
Service class like
@Value(${"getConstant("abc").getValueOfProperty()})
public String resource;