camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From koritoss <>
Subject Re: Disable auto redirect
Date Tue, 17 Jun 2014 16:37:08 GMT
Thanks for the reply.

I doubt the onException code is executed when 300~399 response code is
returned since I do not see the log message below.

            .process(new Processor() { 
              public void process(Exchange exchange) throws Exception { 
                LOGGER.log(Level.INFO, "HttpOperationFailedException

One thing to note is that I do see the log messsage
"HttpOperationFailedException thrown" when response code 400+ is returned.

I believe handled(true) mask the exception to the caller but it should still
catch the exception and print out that log message.

Is there another way to prevent this auto redirect behavior?

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message