The error is "No component found with scheme http4".
I think I could fix it.
What I think is like this :
> What happens in IDE :
> MyProject depends {camel-core, camel-http4}
>
> What happens using OSGI :
> MyProject depends {camel-core}, {camel-http4} and camel-core can't find
> camel-http4 even though MyProject use it in a from("http4:...")
So I am linking both bundles, by myself, in the code with those lines :
Component c = new HttpComponent();
camelContext.addComponent("http4", c);
I was trying to add a dependency to a dependency, just for MyApp osgi, which
is not the right way to do it...
I haven't had time to fully test it and I am not at work right now, will
tell you result tomorrow!
--
View this message in context:
http://camel.465427.n5.nabble.com/OSGI-dependencies-with-camel-tp5723319p5723321.html
Sent from the Camel - Users mailing list archive at Nabble.com.