The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

nousername (2) [Avatar] Offline
#1
Question about page 102 (errata applied) while implementing the example with servicemix and camel:
Does it really need no <osgi:reference ... /> in the bundle where I use the bean / service? Since I am only able to bring it to work with the reference. Or is this a problem of servicemix / karaf / felix in combination with camel?

Thanks
Joe
nousername (2) [Avatar] Offline
#2
Re: OsgiServiceRegistry and ServiceMix
Well, tested now with felix (embedded in glassfish [or vice versa smilie]) and equinox (camel 2.7.1 and 2.8.1) and your code does not work in one or the other... So, the <osgi:reference /> is definitly needed! So, does camel look up the osgi-registry or doesn't it???

Have a nice day
Joe