Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.x
-
Unknown
Description
The current camel-core-osgi implementation sets up everything to work in an OSGi environment but does not start the OsgiDefaultCamelContext . Currently Spring Boot has an implementation that recognizes RouteBuilder components and adds them to the context at starter. This issue is to create a similar OSGi implementation that achieves the following goals:
1) Starts a CamelContext the is available to the entire runtime.
2) Detects and adds RouteBuilders that have been registered as services in the runtime prior to the Context Starting.
3) Detects and adds new RouteBuilders that are registered after the context is started.
4) Detects and removes RouteBuilders as they are de-registered from the runtime.
5) Allows the runtime to stop the CamelContext when the runtime or bundle is stopped.
For discussion see https://lists.apache.org/thread.html/63506b8fac49c9f50a921ba0fd81ed37e69c66ad778fb9d16adb90c3@%3Cdev.camel.apache.org%3E