Java 类org.apache.camel.core.osgi.OsgiServiceRegistry 实例源码

项目:reactive-components    文件:CamelComponent.java   
@Activate
public void activate(BundleContext context, CamelConfig config) throws Exception {
    this.camelContext = new OsgiDefaultCamelContext(context, new OsgiServiceRegistry(context));
    this.camelContext.start();
    this.camelreactive = CamelReactiveStreams.get(camelContext);
}