Hi,

Did you tried with exchange.getOut().setHeader(
Exchange.HTTP_RESPONSE_CODE,
new Integer(522));

Best regard

Pierre-Alban DEWITTE
@__pad__

On Wed, Oct 29, 2014 at 5:01 PM, Henryk Konsek <hekon...@gmail.com> wrote:

> Hi,
>
> >  from("direct:channel2").onException(Exception.class).process(new
> > LogError(HubConstants.CHANNEL2.getValue())).end().recipientList()
> >                 .method(Util.class, "getEndpoint");
>
> Can you share the consumer part of the route with us? :)
>
> Cheers.
>
> --
> Henryk Konsek
> http://henryk-konsek.blogspot.com
>

Reply via email to