On 11/26/10 9:38 PM, Tarun Ramakrishna wrote:
Hi all,
How does one access the Camel registry in an oSGI environment ? (i.e.
instance of org.apache.camel.spi.Registry that holds all the component
registrations made by bundles, etc).
I do not understand why are your asking this question.
You can get the Camel registry to call CamelContext.getRegistry().
Do you want to Know how the components register to the camel registry?
Also what is the purpose of the 'camel-osgi' jar ? It doesn't seem to
be necessary since there is an extender in camel-core which appears to
do everything needed. I am a bit puzzled by this bundle.
I think Claus already answer you question ;)
Any answers appreciated,
Thanks,
Tarun
--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.javaeye.com (Chinese)
Twitter: willemjiang