I wanted to know if there is a way in Spring Boot to read property values from a property file using Dynamic Keys. I know that properties can be placed in application.propertiesand can be read using. @Value("propertyKey")But my keys will be dynamic.
I know about @PropertySourceto read property values, and I can dynamically build my keys. So, is there a way that Spring Boot is provided?
source
share