Hi The message "osgi.wiring.package=org.apache.camel.spring.interceptor" means that your bundle imports the package org.apache.camel.spring.interceptor but no bundle exports that package. Therefore the import cannot be resolved.
Regards Stephan On Tue, Jun 16, 2015 at 2:02 PM, jamalissimo <roman.janu...@gmail.com> wrote: > Hello, > > I have a project which consists of 20+ bundles. Each bundle has its own > blueprint xml config file but there is only one main camel context for all > the bundles: > > <camelContext id="mainContext" trace="{{server.camel.tracing}}" > useMDCLogging="true" xmlns="http://camel.apache.org/schema/blueprint"> > <routeBuilder ref="firstService" /> > <routeBuilder ref="secondService" /> > <routeBuilder ref="thirdService" /> > . > . > . > </camelContext> > > I would like to be able to deploy only specific bundles, so for example > only > firstService. I was thinking that I can create camel context for each > bundle. > > I found this > http://camel.apache.org/why-use-multiple-camelcontext.html > > http://camel.apache.org/advanced-configuration-of-camelcontext-using-spring.html > > and created new camel context in firstService blueprint xml: > > <camelContext id="firstServiceContext" trace="{{server.camel.tracing}}" > useMDCLogging="true" xmlns="http://camel.apache.org/schema/blueprint"> > <routeBuilder ref="firstService" /> > </camelContext> > > and removed reference from mainContext > > <camelContext id="mainContext" trace="{{server.camel.tracing}}" > useMDCLogging="true" xmlns="http://camel.apache.org/schema/blueprint"> > <routeBuilder ref="secondService" /> > <routeBuilder ref="thirdService" /> > </camelContext> > > but I got stuck on this > *osgi.wiring.package=org.apache.camel.spring.interceptor*. > > I was googling for quite a long time but I was only able to find example > where there are two camel contexts in one blueprint. Does anyone know how > to > make it working? I know that I can use the ServiceMix NMR, JMS, or VM > transport but some kind of example with multiple camel contexts in separate > bundles would be really useful. > > Thank you very much for help > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Multiple-CamelContext-in-separate-bundles-tp5768306.html > Sent from the Camel - Users mailing list archive at Nabble.com. >