Hi, Yes, it’s fully possible:
https://github.com/apache/karaf/tree/master/examples/karaf-camel-example/karaf-camel-example-java <https://github.com/apache/karaf/tree/master/examples/karaf-camel-example/karaf-camel-example-java> I’m also preparing a "native" DS support (as explained on the Camel mailing list). Regards JB > Le 10 août 2020 à 07:13, Paul Fraser <[email protected]> a écrit : > > Hi, > > Blindly ventured into Karaf Camel code and used DefaultCamelContext for a > single project wide camel context in a DS Activator. > > Did not work. Research turned up a question from Alex Soto answered by Claus > Ibsen. (Jan 2020) > > Claus stated you have to use OsgiCamelContext and if you do you are on your > own. He also states that Blueprint is the only approach continuing. > > Then I find camel-core-osgi 3.5.0-SNAPSHOT which at least creates a camel > context in a DS Activator. > > Before I go off and learn Blueprint,is it possible and practical to build a > system for production with Camel Java Routes in bundles using camel-core-osgi? > > Paul Fraser > > <paulf.vcf>
