#SpringBoot : Create a conditional Spring Boot Bean only if asked by an external configuration, not using @Conditional #Java
Usually Spring Boot beans are created automatically before the application start and autowired as needed. What if we need to create a Spring bean only if some configuration file requires it. This way of writing code is very useful when trying to write highly configurable enterprise applications where you want to be able what components… Read More »