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 <amare.adera...@gmail.com> wrote: > 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, > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/How-to-customise-HTTP-response-message-such-as-404-500-tp5776676.html > Sent from the Camel Development mailing list archive at Nabble.com. > -- Matt Sicker <boa...@gmail.com>