camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From roger_rabbit <roger_rab...@gmx.fr>
Subject Re: camel-http keeps throwing exception regardless of throwExceptionOnFailure value
Date Wed, 11 Sep 2013 14:08:31 GMT
Claus,

thanks for the tip; which sounded very like the right one until I tried
it... and it didn't work

..
                        // .setHeader(Exchange.HTTP_QUERY,
constant("throwExceptionOnFailure=false"))
                        .setHeader(Exchange.HTTP_URI,
constant("http://www.google.fr/xv?throwExceptionOnFailure=false"))
...

But I still receive an exception...

caught: org.apache.camel.component.http.HttpOperationFailedException: HTTP
operation failed invoking
http://www.google.fr/xv?throwExceptionOnFailure=false with statusCode: 404





--
View this message in context: http://camel.465427.n5.nabble.com/camel-http-keeps-throwing-exception-regardless-of-throwExceptionOnFailure-value-tp5739143p5739153.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message