camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: HTTP timeout
Date Fri, 15 Feb 2013 15:05:24 GMT
On Fri, Feb 15, 2013 at 2:49 PM, cgsk <> wrote:
> Hi there,
> I am using camel http component for calling external webservice. For timeout
> I am setting httpClient.soTimeout=10000 as a query parameter in the service
> url. But httpclient debug logs shows retries 3 times with a timeout of 20
> secs (when unable establish connection to the host).
> So eventually it exceeds my timeout of 10 secs. Why httpclient libraries
> default behaviour of retrying is not getting overriden by soTimeout. Is
> there a better way to disable retry through camel config. Please advise.

You should read up on the docs on Http Client 3.1 as its the library being used
You can set more timeout options and whether it should retry or not.

For example somewhere in the javadoc you can read about the parameter
classes, and find the options to set for additional timeouts and

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

Claus Ibsen
Red Hat, Inc.
FuseSource is now part of Red Hat
Twitter: davsclaus
Author of Camel in Action:

View raw message