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?
bean id=myHttpConnectionManagerParams
class=org.apache.commons.httpclient.params.HttpConnectionManagerParams
property name=defaultMaxConnectionsPerHost value=1 /
/bean
bean id=myHttpConnectionManager
class=org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
property name=params ref=myHttpConnectionManagerParams/
/bean
bean id=http class=org.apache.camel.component.http.HttpComponent
property name=camelContext ref=camel/
property nam
--
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).