I think the problem come from here : inside the consumer I can't import the
provider project.

package com.bw.osgi.consumer;

import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;
import org.osgi.framework.ServiceReference;

*import com.bw.osgi.provider.able.messageService;
*/don't work/
public class bundleLogActivator implements BundleActivator {
    private BundleLogConsumer consumer;

    @Override
    public void start(BundleContext bundleContext) throws Exception {
     //todo to start
    }
    @Override
    public void stop(BundleContext bundleContext) throws Exception {
       // todo to stop 
    }
}



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Karaf-Tutorial-Part-4-CXF-Services-in-OSGi-How-to-use-a-new-service-tp4033785p4033808.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to