Can property name be given alias

Viewed 2303

I'm using a 3rd party Spring Boot module that requires a "validation.url" property to be set

This same value exists in our centralized config service as "url.for.validation", which we retrieve via a PropertyPlaceholderConfigurer

Outside of intercepting the Properties from the PropertyPlaceholderConfigurer and adding a new one for "validation.url", what is the recommended way to achieve this?

Is there any alias functionality for properties?

0 Answers
Related