You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2010/02/23 03:44:40 UTC
[jira] Assigned: (SMXCOMP-717) Http Provider Endpoint does not
handle Jetty exchange expiration (Read timeout).
[ https://issues.apache.org/activemq/browse/SMXCOMP-717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Freeman Fang reassigned SMXCOMP-717:
------------------------------------
Assignee: Freeman Fang
> Http Provider Endpoint does not handle Jetty exchange expiration (Read timeout).
> --------------------------------------------------------------------------------
>
> Key: SMXCOMP-717
> URL: https://issues.apache.org/activemq/browse/SMXCOMP-717
> Project: ServiceMix Components
> Issue Type: Bug
> Components: servicemix-http
> Affects Versions: servicemix-http-2008.01, servicemix-http-2009.01, servicemix-http-2009.02
> Reporter: Ioannis Canellos
> Assignee: Freeman Fang
>
> 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) {
> handleException(this, jbiExchange, throwable);
> }
> +
> + protected void onExpire() {
> + handleException(this, jbiExchange, new Exception("Http request expired."));
> + }
> }
>
> protected class SSLManagedHttpClient extends HttpClient {
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.