Hi,

It should work if you are using the latest camel-karaf repo:

https://github.com/apache/camel-karaf/releases/tag/camel-karaf-4.10.3

You are doing well to moving from blueprint to java DSL and using SCR as OSGi Ioc, today this is the best way.

You can also use the magical direct-vm camel component to be able to call routes across the bundles in the same Karaf instance.

All the camel osgi stuff has been migrated to the camel-karaf repo and are still heavily maintained.

regards,

François
fpa...@apache.org
francois.pa...@openobject.fr

Le 17/04/2025 à 00:24, apache-karaf-user.pyr3x.com via user a écrit :
Hello,

I know the camel-scr and camel-osgi packages have been deprecated,
however, I'm looking to understand how osgi-ify camel within karaf
without using blueprint. I'm happy to use the java DSL but I'm unsure of
exactly how to do this. The examples do not seem to work for camel4 +
karaf4. Any help would be appreciated.

Reply via email to