Re: Can exception clause works with rest dsl in camel 2.14.0?

2014-10-28 Thread Dewitte P-Alban
Hi, It is not working gloably but for each route it works if you describe a onException clause. A working example : rest(...) .post(/{CamelMongoDbCollection}).description(Save operation) .route() .process(new MRCProcessor()) .to(String.format(mongoDBRoute,

Re: Can exception clause works with rest dsl in camel 2.14.0?

2014-10-25 Thread Claus Ibsen
Hi Yeah I think unfortunately that onException, and interceptor etc isnt supported in nested routes with the rest dsl. We will get this fixed in the next patch release. I logged a ticket https://issues.apache.org/jira/browse/CAMEL-7959 On Tue, Oct 7, 2014 at 12:04 PM, leon itsmrch...@gmail.com

Can exception clause works with rest dsl in camel 2.14.0?

2014-10-07 Thread leon
Hi all, I am using camel 2.14.0 and the new rest dsl feature. It seems exception clause is not working with rest dsl. Am I doing anything wrong? Here are my classes: public MyRouteBuilder extends RouteBuilder { public void configure() throws Exception {