This repository provides a practical example of how to implement Conditional Bean Registration in Spring Boot. Using the @ConditionalOnProperty annotation, we can enable or disable components dynamically based on configuration files or environment variables.
- Java: The minimum required version is 17.
- Spring Starter Parent: This project uses version 3.2.1.
Server should run automatically when starting a workspace. To run manually, run:
mvn spring-boot:run