How to remove interceptors?

2011-05-27 Thread 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: for (int i = 0; i < camelContext.getRouteDefinitions().size(); i++) { camelContext.getRouteDefinitions().get(i).adviceWith

Re: How to remove interceptors?

2011-05-27 Thread Donald Whytock
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: > >                

Re: How to remove interceptors?

2011-05-27 Thread Ashwin Karpe
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.

RE: How to remove interceptors?

2011-05-30 Thread Marcos Díez Fernández
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.