Hi,

 

I am using Apache Aries on Karaf OSGi container. I have two different
version of a bundle installed at a time. I have exposed service using
<service> tag as following.

 

<service ref="greetService" interface="com.mii.greet.Greet"  />

 

On service consumer side, I refer to the service using reference tag.

 

<reference id="greetService" interface="com.mii.greet.Greet" />

 

But on consumer side, I always receive the service provider from the bundle
which exposes the service first. How can we refer to services provided by
different versions of same bundle.

 

Regards,

Jay Rajani

Reply via email to