karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From abdulrazak <abdulrazak....@gmail.com>
Subject Re: CXF cellar
Date Mon, 11 Dec 2017 09:24:45 GMT
Yes, I deployed bundle in cluster.
Implemented BundleConext, methods as below. Do i miss any thing to this.
public void start(BundleContext context) throws Exception {
		// TODO Auto-generated method stub
		 ClusterManager clusterManager = getTrackedService(ClusterManager.class);
         if (clusterManager == null)
                 return;
		// TODO Auto-generated method stub
		Dictionary props = new Hashtable();
		props.put("service.exported.interfaces", "*");
		props.put("service.exported.configs", "org.apache.cxf.ws");
		props.put("org.apache.cxf.ws.address",
"http://localhost:12507/shifttransfer");
		registration =
context.registerService("org.osgi.service.cm.ManagedService", this, props);
		
	}




--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-Dev-f930721.html

Mime
View raw message