Hi all,
As suggested by book/documentation I'm using adviceWith method to add
interceptors to my existing routes, like this:
for (int i = 0; i < camelContext.getRouteDefinitions().size();
i++) {
camelContext.getRouteDefinitions().get(i).adviceWith
You can use intercept().when(predicate).process(processor) and have
predicate depend on a settable value.
Don
2011/5/27 Marcos Díez Fernández :
> Hi all,
>
> As suggested by book/documentation I'm using adviceWith method to add
> interceptors to my existing routes, like this:
>
>
e.com/camel2011
-
--
View this message in context:
http://camel.465427.n5.nabble.com/How-to-remove-interceptors-tp4431339p4432115.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Thanks both, very helpful answers!
BR,
Marcos.
View this message in context:
http://camel.465427.n5.nabble.com/How-to-remove-interceptors-tp4431339p4432115.html
Sent from the Camel - Users mailing list archive at Nabble.com.