Spring Boot - Advanced Patterns
You want to create two beans of the same type but only one should be active based on a property
Which is the best way to define these beans using
mode which can be "simple" or "advanced".Which is the best way to define these beans using
@ConditionalOnProperty?