spring annotation to get rid of configuration name prefix without changing variable names
I have configuration with
How to set properties file in SPRING configuration
I need to refactor a factory method with @ConditionalOnProperty
. Say I have following: