In the end, we use @Inject to be able to access the ComponentResolver available from the dependency and then resolve the component and add it to the camelContext.
@Inject .multiple() Iterable<ComponentResolver> resolvers; Component comp = resolver.resolveComponent(CAMEL_HTTP4, camelContext); camelContext.addComponent(CAMEL_HTTP4, comp); The dependency is added through resolve, and found using the string "http4" and is not directly linked to any Class of the camel-http4 jar. -- View this message in context: http://camel.465427.n5.nabble.com/OSGI-dependencies-with-camel-tp5723319p5723351.html Sent from the Camel - Users mailing list archive at Nabble.com.