1 Reply Latest reply on Oct 18, 2014 5:24 AM by eminkevich

    Publishing OSGI Service with Fabric

    aunlu

      Hi,

       

      I am trying to publish an OSGI service in a Fabric cluster. I am using jboss-fuse-6.1.0.redhat-379. Container profiles are based on predefined jboss-fuse-medium profile.

       

      I added "service.exported.interfaces" as described in https://access.redhat.com/documentation/en-US/Red_Hat_JBoss_Fuse/6.1/html/Fabric_Guide/files/Arch-Discovery.html.

       

      But, org.osgi.util.tracker.ServiceTracker running in a remote container cannot see that service.

       

      1. Is there a sample code for publishing service in fabric?

      2. How can i lookup fabric registry if osgi service is registered ?

      3. Does service tracker work in fabric as expected?

       

      Thanks,