Re: Camel V2.12 HttpConnectionParams

2013-09-16 Thread Willem jiang
It is caused by the patch of CAMEL-6296 which will override the setting of 
myHttpConnectionManagerParams.

I will do a quick fix for it. At the mean time, you can workaround by using the 
prefix "httpConnectionManager." to setup the HttpConnectionManager through the 
URL like httpConnectionManager.defaultMaxConnectionsPerHost=1  

--  
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 Tuesday, September 17, 2013 at 1:16 PM, ramrubio wrote:

> Updating to use camel v2.12 from 2.11. The following configuration code use
> to work on 2.11 but no longer works on 2.12.
>  
> On 2.12 the defaults are always used and consequently eventually http
> requests hang due to limit of maxConnectionsPerHost=2 and
> maxTotalConnections=10.
>  
> Is there something i'm doing wrong?
>  
>  class="org.apache.commons.httpclient.params.HttpConnectionManagerParams">
> 
> 
>  
>  class="org.apache.commons.httpclient.MultiThreadedHttpConnectionManager">
> 
> 
>  
> 
> 
>   
>  
>  
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Camel-V2-12-HttpConnectionParams-tp5739596.html
> Sent from the Camel - Users mailing list archive at Nabble.com 
> (http://Nabble.com).





Re: Camel V2.12 HttpConnectionParams

2013-09-17 Thread ramrubio
Thanks Willem.



--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-V2-12-HttpConnectionParams-tp5739596p5739698.html
Sent from the Camel - Users mailing list archive at Nabble.com.