微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

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);
}

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。