);
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
amelContext.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!
>
y, 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.
>
>
> We have been trying something using ComponentResolver and @Inject. Is it
> the
> right way ?
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/OSGI-dependencies-with-camel-tp5723319.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
e.com/OSGI-dependencies-with-camel-tp5723319.html
Sent from the Camel - Users mailing list archive at Nabble.com.