cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From niteshjain132 <>
Subject How to do connection pooling on CXF endpoint
Date Tue, 06 Sep 2016 05:52:55 GMT
I'm using camel 2.16.0 and cxf 3.1.2.

I have an cxf endpoint as below in my camel context .. (TEST_ENDPOINT is an
actual endpoint)

I wanted to limit the number of HTTP connections to TEST_ENDPOINT, Tried
below but it doesn't help..

<bean id="http" class="org.apache.camel.component.http.HttpComponent">
		<property name="camelContext" ref="sendSMSContext_rest" />
		<property name="httpConnectionManager" ref="myHttpConnectionManager" />

	<bean id="myHttpConnectionManager"

		<property name="params" ref="myHttpConnectionManagerParams" />

	<bean id="myHttpConnectionManagerParams"
		<property name=&quot;&lt;b>maxTotalConnections*" value="5" />

When i do a load test, i can see 200+ ESTABLISHED connection, though
*maxTotalConnections* is 5 !!
any help is appreciated.

View this message in context:
Sent from the cxf-dev mailing list archive at

View raw message