camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Sicker <boa...@gmail.com>
Subject Re: How to customise HTTP response message such as 404,500
Date Tue, 26 Jan 2016 15:39:43 GMT
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.aderajew@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 <boards@gmail.com>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message