You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by IgnatiusReilly <el...@gmail.com> on 2015/01/08 21:08:07 UTC
Http4 Component - 2.14 - Set Request Timeout
Hi,
I am trying to set the Connection Request Timeout in Camel 2.14. According
to the documentation the URI parameter does not work; however it is not
clear how to do it using HttpClientBuilder and RequestConfig.Builder. Could
someone let me know how to configure this parameter in a Camel Route?
Thanks,
Ignatius
--
View this message in context: http://camel.465427.n5.nabble.com/Http4-Component-2-14-Set-Request-Timeout-tp5761479.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Http4 Component - 2.14 - Set Request Timeout
Posted by IgnatiusReilly <el...@gmail.com>.
Willem,
Thanks for your reply. I just noticed that the issue was something else... I
was about to delete the message!
Thanks anyway.
Ignatius
--
View this message in context: http://camel.465427.n5.nabble.com/Http4-Component-2-14-Set-Request-Timeout-tp5761479p5761533.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Http4 Component - 2.14 - Set Request Timeout
Posted by Willem Jiang <wi...@gmail.com>.
You can use the option httpClient.connectTimeout=60000 to set the request timeout.
--
Willem Jiang
Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang
Weibo: 姜宁willem
On January 9, 2015 at 4:09:39 AM, IgnatiusReilly (elpallo@gmail.com) wrote:
> Hi,
>
> I am trying to set the Connection Request Timeout in Camel 2.14. According
> to the documentation the URI parameter does not work; however it is not
> clear how to do it using HttpClientBuilder and RequestConfig.Builder. Could
> someone let me know how to configure this parameter in a Camel Route?
>
> Thanks,
>
> Ignatius
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Http4-Component-2-14-Set-Request-Timeout-tp5761479.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>