Hello.

I'd like to know if there's some way to retrieve the bundle version
from either the CamelContext or the CamelMessage objects.

The code should be executed in a service that is provided from another
bundle. I suppose I could get the BundleContext using the
FrameworkUtil.getBundleContext(someClass), but I don't know how I
could get the given "someClass" that would match the origin Camel
Exchange scope.

All our Camel contexts are executed from OSGi blueprints packaged as
bundles, and they share the services that need to get the
corresponding bundles versions.

Any idea ?

Thanks for your help.

Regards.

Reply via email to