Re: How to customise HTTP response message such as 404,500

2016-01-26 Thread Matt Sicker
This is a question for the user list. But you can use something like in.setHeader(Exchange.HTTP_RESPONSE_CODE, constant(404)). On 25 January 2016 at 12:11, ytatyaLij wrote: > I am working on apatch camel with spring integration, I need to send > different response message rather than HTTP respon

How to customise HTTP response message such as 404,500

2016-01-25 Thread ytatyaLij
I am working on apatch camel with spring integration, I need to send different response message rather than HTTP response exception message using java code or any other way. Since Im new for this apatch camel Integration, I couldn't come up with a better idea, please provide you help. Regards,