Instead of @Value, could you please migrate these to a simple POJO annotated with @ConfigurationProperties. This not only gives you better support for relaxed binding but if you enable the spring-boot-configuration-processor you'll offer content assist for those keys in the IDE (STS, Intellij IDEA and Netbeans are offering such Spring Boot support now)
Hi,
Instead of
@Value
, could you please migrate these to a simple POJO annotated with@ConfigurationProperties
. This not only gives you better support for relaxed binding but if you enable thespring-boot-configuration-processor
you'll offer content assist for those keys in the IDE (STS, Intellij IDEA and Netbeans are offering such Spring Boot support now)I am happy to help you migrating to that model.
See also the documentation