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

项目:Camel    文件:RouteBuilder.java   
/**
 * Applies a route for an interceptor if an exchange is send to the given endpoint
 *
 * @param uri  endpoint uri
 * @return the builder
 */
public InterceptSendToEndpointDefinition interceptSendToEndpoint(String uri) {
    if (!getRouteCollection().getRoutes().isEmpty()) {
        throw new IllegalArgumentException("interceptSendToEndpoint must be defined before any routes in the RouteBuilder");
    }
    getRouteCollection().setCamelContext(getContext());
    return getRouteCollection().interceptSendToEndpoint(uri);
}
项目:Camel    文件:CamelContextFactoryBean.java   
public List<InterceptSendToEndpointDefinition> getInterceptSendToEndpoints() {
    return interceptSendToEndpoints;
}
项目:Camel    文件:CamelContextFactoryBean.java   
public void setInterceptSendToEndpoints(List<InterceptSendToEndpointDefinition> interceptSendToEndpoints) {
    this.interceptSendToEndpoints = interceptSendToEndpoints;
}
项目:Camel    文件:CamelContextFactoryBean.java   
public List<InterceptSendToEndpointDefinition> getInterceptSendToEndpoints() {
    return interceptSendToEndpoints;
}
项目:Camel    文件:CamelContextFactoryBean.java   
public void setInterceptSendToEndpoints(List<InterceptSendToEndpointDefinition> interceptSendToEndpoints) {
    this.interceptSendToEndpoints = interceptSendToEndpoints;
}
项目:Camel    文件:CamelContextFactoryBean.java   
public List<InterceptSendToEndpointDefinition> getInterceptSendToEndpoints() {
    return interceptSendToEndpoints;
}
项目:Camel    文件:CamelContextFactoryBean.java   
public void setInterceptSendToEndpoints(List<InterceptSendToEndpointDefinition> interceptSendToEndpoints) {
    this.interceptSendToEndpoints = interceptSendToEndpoints;
}
项目:Camel    文件:CamelGroovyMethods.java   
public static InterceptSendToEndpointDefinition when(InterceptSendToEndpointDefinition self,
        Closure<?> predicate) {
    return self.when(toExpression(predicate));
}
项目:switchyard    文件:CamelContextFactoryBeanDelegate.java   
@Override
public List<InterceptSendToEndpointDefinition> getInterceptSendToEndpoints() {
    return _factoryBean.getInterceptSendToEndpoints();
}
项目:camel-cdi    文件:CamelContextFactoryBean.java   
public List<InterceptSendToEndpointDefinition> getInterceptSendToEndpoints() {
    return interceptSendToEndpoints;
}
项目:camel-cdi    文件:CamelContextFactoryBean.java   
public void setInterceptSendToEndpoints(List<InterceptSendToEndpointDefinition> interceptSendToEndpoints) {
    this.interceptSendToEndpoints = interceptSendToEndpoints;
}
项目:Camel    文件:AbstractCamelContextFactoryBean.java   
public abstract List<InterceptSendToEndpointDefinition> getInterceptSendToEndpoints();