@Conditional… in Spring Boot

While building Spring Boot app, we could fall in one use case where we need to load some of our beans conditionally i.e. Loading that bean based on another bean. Spring 4.0 has introduced a new annotation¬†@Conditional that allows us to use either pre-defined or custom conditions which will be applied to bean in application context. In this blog, we will introduce you with some … Continue reading @Conditional… in Spring Boot