camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From toomanyedwards <>
Subject soTimeout ignored by camel http component
Date Tue, 21 Jan 2014 16:08:50 GMT
Hi all,
  We are trying to set the timeout for http client connections.  The http
component docs ( indicate that we should
be able to set this as a URI param (eg. -, BUT this doesn't work if setting
the URI via the Exchange.HTTP_URI header.  The timeout is completely
ignored.  There's nothing in the http component docs that I have found that
indicate when specifying the URI via the Exchange.HTTP_URI header that the
timeout settings will be ignored.  I found a message thread
indicating that you have to use recipient list for timeouts to be respected.
This is definitely counter intuitive and if someone develops a route using
the Exchange.HTTP* headers and then needs to specify a time out they may
need to change in their route logic since the configuration of the recipient
list component is different from the http component.

Is having to use the recipient list component to support client http
timeouts an explicit requirements decision or because of a technical
limitation(s) of the http component?  Is there a way to use the http
component and specify the URI vi the Exchange.HTTP_URI header or is using
recipient list the only way to do it?

Thanks for any feedback.  We have been very happy with using camel in our
project and this is the first thing we've come across that I'd characterize
as a major bug, but hopefully I'm mistaken here.  Thanks again!


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

View raw message