0
down vote
favorite
        

I am trying to use Camel(2.18.2) + karaf(4.0.8)+blueprint(Aries) for my
migration as suggested by experts.

I have separated files as Routes XML files and Beans XML files. RouteXml->
it has only Camel Routes BeanXml-> it has only beans defines

*Structure::*

      *Bundle-Conf/OSGI-INF/blueprint/rootCamelContext.xml
      Bundle-A/OSGI-INF/blueprint/RouteContextA.xml
              /OSGI-INF/blueprint/RoutesA1.xml
              /OSGI-INF/blueprint/BeansA2.xml
      Bundle-B/OSGI-INF/blueprint/RouteContextB.xml
              /OSGI-INF/blueprint/RoutesB1.xml
              /OSGI-INF/blueprint/BeansB2.xml*


   / rootCamelContext.xml -> it has CamelContext and Has some routes and
beans  defined .
    RouteContextA.xml-> it has <RouteContex> with some routes
    RoutesA1.xml-> it has <Routes> with some routes
    BeansA2.xml-> it has <Blueprint> with some beans

    RouteContextB.xml-> it has <RouteContex> with some routes
    RoutesB1.xml-> it has <Routes> with some routes
    BeansB2.xml-> it has <Blueprint> with some beans/

Now rootCamelContext.xml is loading fine. But other bundle A and B routes
are not loading.

Questions: 1. How to load Routes and Beans from Bundle A and Bundle B ? 2.
How to attach bundle A and B routes to rootCamelContext ?

Please help me on how to load beans from other bundles.

I did export all packages from other bundles.



--
View this message in context: 
http://camel.465427.n5.nabble.com/Karaf-Camel-Blueprint-not-able-to-load-bean-from-other-active-bundles-tp5795036p5795079.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to