Hi,

What is your OSGI container? 
Is it Karaf? If so, you have to install camel in karaf (even though, you
have provided dependency in camel ) with the below command :

karaf@root> features:chooseurl camel 2.12.1 (provide the version you want)
karaf@root> features:install camel

These camel commands may have little difference based on your karaf version.
 
This is how you should initialize your camel context for OSGI bundles in
case of Java DSL.

OsgiServiceRegistry reg = new OsgiServiceRegistry(bundleContext); 

context=new OsgiDefaultCamelContext(bundleContext, reg); 




--
View this message in context: 
http://camel.465427.n5.nabble.com/is-it-dependency-issue-tp5767374p5767390.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to