Hi, No, I'm asking how is the OSGi metadata header the bundle containing the camel context files looks like?
For example, bundle B contains the wsdls in package a.b.c, so does bundle A which contain the camel context files have OSGi headers like Import-Package a.b.c? You can use osgi:headers bundle_id to get the osgi headers ------------- 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-6-18, at 下午8:20, Andrew Owen wrote: > Freeman, > The bundles that contain the camel context files have a dependency on the > bundle with the WSDLs. Is this what you're asking? > > Thanks, > -Andrew > 916.215.3933 > > > -----Original Message----- > From: Freeman Fang [mailto:[email protected]] > Sent: Monday, June 17, 2013 11:34 PM > To: [email protected] > Subject: Re: classpath URLs > > Hi, > > A quick question, the bundle which have the camel context files import > package of bundle which have the wsdls, right? > ------------- > 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-6-17, at 下午11:01, Andrew Owen wrote: > >> Hi All, >> >> We have Camel context files that create CXF web services endpoints, using >> the classpath: URL format to point to WSDL files. These files reside in >> bundles separate from the bundle in which the Camel context files reside. >> >> It surprised me to realize today that we have not installed the OSP4J Pax >> URL Classpath bundle in ServiceMix, yet these classpath: urls are resolving >> just fine. I seem to recall that with some past version of ServiceMix we >> had to install Pax URL Classpath. But it appears that we no longer need to >> do so. >> >> My question is: how are Camel and Spring successfully resolving these URLs >> and loading the resources from another bundle? Is this now a built-in >> capability in smx or the Camel bundles? >> >> Thanks, >> -Andrew >> >> Andrew T. Owen >> Director, Information Sharing Programs SEARCH, The National Consortium >> for Justice Information and Statistics >> 916.215.3933 / [email protected] / www.search.org >> >> >
