Hi, When you drop camelcontext.xml to smx/deploy folder, a bundle is generated underlying automatically which will add Dynamic-Import:*, which means import all package, that's why it works. When you use bundle, you better not use Required-bundle but use Import-Package to explicitly specify the package needed, thought the maven-bundle-plugin can help you do it automatically from dependencies in most cases. ------------- Freeman(Yue) Fang
Red Hat, Inc. FuseSource is now part of Red Hat Web: http://fusesource.com | http://www.redhat.com/ Twitter: freemanfang Blog: http://freemanfang.blogspot.com http://blog.sina.com.cn/u/1473905042 weibo: @Freeman小屋 On 2013-1-5, at 上午4:43, maggie wrote: > I think I got my answer: I was deploying the camelcontext through OSGI bundle > and that is why I had to specify Required-bundle on the route-provisioner > POM.XML. Instead I deployed by copying camelcontext.xml into > servicemix/deploy folder and then it worked. > > Could you please confirm that I did it deploy routes the right way ? > > > > -- > View this message in context: > http://servicemix.396122.n5.nabble.com/Issue-with-executing-LTKJava-LLRP-protocol-library-inside-servicemix-4-due-to-dependency-on-apache-m7-tp5715372p5715413.html > Sent from the ServiceMix - User mailing list archive at Nabble.com.
