Retrying a message from a specific point of the route

2018-02-04 Thread Hemant Pekhale
Hi, How to retry a message from a specific point of the route when exception occurs. I am using camel 2.15 and Spring configuration. Some example is most appreciated. Thanks!

Re: exceptionMessage() not working properly

2018-02-04 Thread Yacov Schondorf
Thank you! This worked for me: onException(BadHeaderException.class) .handled(true) * .transform(simple("Bad API request: ${exception.message}"))* .setHeader(Exchange.HTTP_RESPONSE_CODE, constant(400)) 2018-02-02 11:33 GMT+02:00 Claus Ibsen : > Hi > > The configure method in the RouteBuilder