Java 类org.apache.camel.model.RouteContextRefDefinition 实例源码

项目:Camel    文件:AbstractCamelContextFactoryBean.java   
protected void initRouteRefs() throws Exception {
    // add route refs to existing routes
    if (getRouteRefs() != null) {
        for (RouteContextRefDefinition ref : getRouteRefs()) {
            List<RouteDefinition> defs = ref.lookupRoutes(getContext());
            for (RouteDefinition def : defs) {
                LOG.debug("Adding route from {} -> {}", ref, def);
                // add in top as they are most likely to be common/shared
                // which you may want to start first
                getRoutes().add(0, def);
            }
        }
    }
}
项目:Camel    文件:CamelContextFactoryBean.java   
public List<RouteContextRefDefinition> getRouteRefs() {
    return routeRefs;
}
项目:Camel    文件:CamelContextFactoryBean.java   
public void setRouteRefs(List<RouteContextRefDefinition> routeRefs) {
    this.routeRefs = routeRefs;
}
项目:Camel    文件:CamelContextFactoryBean.java   
public List<RouteContextRefDefinition> getRouteRefs() {
    return routeRefs;
}
项目:Camel    文件:CamelContextFactoryBean.java   
public void setRouteRefs(List<RouteContextRefDefinition> routeRefs) {
    this.routeRefs = routeRefs;
}
项目:Camel    文件:CamelContextFactoryBean.java   
public List<RouteContextRefDefinition> getRouteRefs() {
    return routeRefs;
}
项目:Camel    文件:CamelContextFactoryBean.java   
public void setRouteRefs(List<RouteContextRefDefinition> routeRefs) {
    this.routeRefs = routeRefs;
}
项目:switchyard    文件:CamelContextFactoryBeanDelegate.java   
@Override
public List<RouteContextRefDefinition> getRouteRefs() {
    return _factoryBean.getRouteRefs();
}
项目:camel-cdi    文件:CamelContextFactoryBean.java   
public List<RouteContextRefDefinition> getRouteRefs() {
    return routeRefs;
}
项目:camel-cdi    文件:CamelContextFactoryBean.java   
public void setRouteRefs(List<RouteContextRefDefinition> routeRefs) {
    this.routeRefs = routeRefs;
}
项目:Camel    文件:AbstractCamelContextFactoryBean.java   
public abstract List<RouteContextRefDefinition> getRouteRefs();