enterprise integration - Do Apache Camel Interceptors work on a Routing Slip EIP? -
i using camel's spring boot integration, , trying set route use routing slip eip , have wide open intercept defined on routebuilder
- see interceptor called once before routingslip. not intercept endpoints in slip?
@component public class myroute extends routebuilder { private final myservice myservice; @autowired public myroute(myservice myservice ) { this.myservice = myservice; } @override public void configure() throws exception { /* * adds interceptor try save state between each slip of route */ intercept() .bean(myservice); /* * route, assumes routingslip comma separated list of bean names have registered */ from("direct:start") .routingslip(header("myslip")); } }
Comments
Post a Comment