Stupid question .

are you sure that custom API are fragment-host of bundle b?

cheers

--Filippo

2012/5/22 pchakinala <[email protected]>:
> Hi,
>  We are using SMX 4.4 and camel 2.8.3. We have three bundles
>
> Bundle A and  Bundle B.
>
>  Bundle A:
>  ---> Calls SERVICES which are located in Bundle B
> ---> contains endpoint to call thirdparty service
>
>  Bundle B:
>  ---> It contains OSGI Service which is used  Bundle A.This OSGI service
> which uses our custom API classes.
>
>  As per the below article and used Fragment bundle approach to export custom
> API
>
> http://freemanfang.blogspot.in/2012/03/how-to-use-jdbc-driver-in-osgi.html
>
> As stated earlier  Bundle B require Custom API. So created fragment bundle
> which imports Custom API packages  and added Bundle B as Fragment-Host
> Bundle.  I have observed custom API classes are not available in run time.
>
> However its working fine if i created fragment Bundle with Bundle A as
> Fragment-host bundle instead of Bundle B as Host.
>
> Why it is not working when Bundle B as Fragment-Host bundle? Actual Custom
> API is used in osgi class at Bundle B.
>
>  Please update me do you want me to share my source bundles.
>
> Regards,
> Praveen
>
>
>
>
>
> --
> View this message in context: 
> http://servicemix.396122.n5.nabble.com/OSGI-Class-Loading-tp5713326.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to