CAMEL-24000: camel-spring-boot - notify MainListener beans exactly once with run-controller enabled With camel.main.run-controller=true, MainListener beans were notified twice for beforeStart/afterStart (and beforeStop/afterStop): once via the controller created by CamelAutoConfiguration (the complete callback stream added in CAMEL-21359) and once more via the run controller's internal Main, which registered the same listener beans and fires the start/stop callbacks from MainSupport.run(). The run controller's Main is only used to keep the JVM running, so it no longer registers the MainListener beans. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Apache Camel is a powerful open source integration framework based on known Enterprise Integration Patterns with powerful bean integration.
This project provides Spring Boot support for Apache Camel.
To create a starter for the zoot component, run the following command:
./starter-create zoot
Similarly, to delete the starter for the zoot component, run the following command:
./starter-delete zoot
More information can be found on the Camel website