Hi, from your description it sounds that haven't exported the instances
you would like to access as services. It is not sufficient to export the packages.
The instances that shall be available in other bundle must be exported as services and then they can be referenced as service in your context. As I am not using Blueprint anymore, my memory is a bit dusty on the syntax, but if you look for service export and service reference in the blueprint doc you should be fine. You might want to read up on OSGi services in general to understand how services can be exposed and referenced with user defined properties to make sure you get the right instance (in case you have more than one instance of a particular service). Hope that helps Andreas On 07/03/17 18:50, kumar wrote:
Hi , I am trying to use Camel(2.18.2) + karaf(4.0.8)+blueprint(Aries) for my migration as suggested by experts. Now I am able to load all my bundles but unable to start Camel context due to following errors: 1. I have 4 xml files. first one is root file 2. seconnd, third , four are routes and beans files(Routes aand beans are in different files) 3. These Camel Blueprint DSL route beans are not able to access beans inside bundle A 4. I am trying to load all xml files as separate bundle named -"Conf" Somehow Conf bundle not able to access/ load beans from other active bundles in Karaf Container. Please help me on how to load beans from other bundles. I did export all packges from other bundles. Thanks, Kumar -- View this message in context: http://camel.465427.n5.nabble.com/Camel-with-Karaf-Blueprint-tp5795036.html Sent from the Camel - Users mailing list archive at Nabble.com.
