Hi, You can find a sample here:
https://github.com/apache/karaf/blob/main/examples/karaf-camel-example and a full ESB example here: https://github.com/yupiik/esb regards, François [email protected] [email protected] Le 18/09/2024 à 21:06, apache-karaf-user.pyr3x.com via user a écrit :
Hello, By adding the feature 'camel' I am able to use blueprint to deploy my camel routes. However, I am looking to use the Java DSL to create some default routes while still allowing additional blueprint-enabled one's to be dropped into the deploy folder. How do I get the CamelContext using DS? For example I've tried to @Reference CamelContext camelContext. The examples I could find used what seems a now unsupported OsgiDefaultCamelContext loaded through the activate method. What is the preferred method now (preferably using annotations?). Thank you in advanced.
