Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
servicemix-http-2008.01, servicemix-http-2009.01, servicemix-http-2009.02
-
None
-
Patch Available
Description
HttpProviderEndpoint does not handle Jetty exchange (read timeout). If the remote host does not respond to an Http Request in 5 minutes (default expiration timeout on Jetty) Jetty propagates an error which is not handled by the Http Provider.
Below is the patch:
Index: HttpProviderEndpoint.java
===================================================================
— HttpProviderEndpoint.java (revision 910598)
+++ HttpProviderEndpoint.java (working copy)
@@ -363,6 +363,10 @@
protected void onException(Throwable throwable)
+
+ protected void onExpire()
}
protected class SSLManagedHttpClient extends HttpClient {