org.apache.camel.core.osgi.OsgiDefaultCamelContext的实例源码

项目:Camel    文件CamelContextFactory.java   
protected DefaultCamelContext newCamelContext() {
    if (registry != null) {
        return new OsgiDefaultCamelContext(bundleContext,registry);
    } else {
        return new OsgiDefaultCamelContext(bundleContext);
    }
}
项目: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);
}
项目:Camel    文件kuraRouter.java   
protected CamelContext createCamelContext() {
    return new OsgiDefaultCamelContext(bundleContext);
}

相关文章

买水果
比较全面的redis工具类
gson 反序列化到多态子类
java 版本的 mb_strwidth
JAVA 反转字符串的最快方法,大概比StringBuffer.reverse()性...
com.google.gson.internal.bind.ArrayTypeAdapter的实例源码...