Re: OSGI dependencies with camel

2012-11-28 Thread lleclerc
); 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

Re: OSGI dependencies with camel

2012-11-28 Thread Willem jiang
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! >

Re: OSGI dependencies with camel

2012-11-27 Thread lleclerc
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.

Re: OSGI dependencies with camel

2012-11-27 Thread Christian Müller
> > > 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. >

OSGI dependencies with camel

2012-11-27 Thread lleclerc
e.com/OSGI-dependencies-with-camel-tp5723319.html Sent from the Camel - Users mailing list archive at Nabble.com.