camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ramrubio <ramru...@yahoo.com>
Subject Camel V2.12 HttpConnectionParams
Date Tue, 17 Sep 2013 05:16:15 GMT
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="10000 "/>
	</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.

Mime
View raw message