No, HttpComponent.setConnectionTimeToLive() is used to set the connection manager timeToLive option, it has nothing to do with the SO_TIMEOUT.
-- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo: 姜宁willem On Wednesday, November 27, 2013 at 5:04 PM, PJ Walstroem wrote: > thank you, Willem, > so the code suggested would actually set the SO_TIMEOUT on the http-client? > I can not seem to get it to work, but will try further to try to figure it > out. > > I also notice the HttpComponent.setConnectionTimeToLive(). Would that > accomplish the same behaviour? > > best regard, Per Jorgen > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/How-to-configure-http-client-tp5743784p5743902.html > Sent from the Camel - Users mailing list archive at Nabble.com > (http://Nabble.com).