Hello,

I`m using camel ver. 2.11.0 and HTTP component to call SSL (port 443) REST
web services like this:
<camel:to
uri="http://{{address}}:{{port}}/{{context}}?httpClientConfigurerRef=httpClientConfig"/>

For SSL I used my implementation (httpClientConfig) of
org.apache.camel.component.http.HttpClientConfigurer interface.

After 8 months of production REST server failed and return response code 302
with redirect. After that I see "deadlock" of http component:
o.a.c.h.HttpMethodDirector(439) - INFO  - I/O exception
(org.apache.commons.httpclient.NoHttpResponseException) caught when
processing request: The server rest.myendpoint.com failed to respond
o.a.c.h.HttpMethodDirector(445) - INFO  - Retrying request
And no more logs from this route..

In context I use 3 routes started using timer component. 2 of my routes (use
http for REST calls) stoped for 11 days and only route for processing FILE
still works.


Why http component did not throw HttpOperationFailedException? How can I
prevent from this "deadlock"?

Thank you for your help



--
View this message in context: 
http://camel.465427.n5.nabble.com/HttpOperationFailedException-not-throwed-on-response-code-302-tp5743039.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to