You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2009/02/11 08:23:45 UTC

svn commit: r743254 - /camel/trunk/tests/camel-itest/src/test/resources/org/apache/camel/itest/http/HttpMaxConnectionPerHostTest-context.xml

Author: davsclaus
Date: Wed Feb 11 07:23:45 2009
New Revision: 743254

URL: http://svn.apache.org/viewvc?rev=743254&view=rev
Log:
Update sample according to customer findings

Modified:
    camel/trunk/tests/camel-itest/src/test/resources/org/apache/camel/itest/http/HttpMaxConnectionPerHostTest-context.xml

Modified: camel/trunk/tests/camel-itest/src/test/resources/org/apache/camel/itest/http/HttpMaxConnectionPerHostTest-context.xml
URL: http://svn.apache.org/viewvc/camel/trunk/tests/camel-itest/src/test/resources/org/apache/camel/itest/http/HttpMaxConnectionPerHostTest-context.xml?rev=743254&r1=743253&r2=743254&view=diff
==============================================================================
--- camel/trunk/tests/camel-itest/src/test/resources/org/apache/camel/itest/http/HttpMaxConnectionPerHostTest-context.xml (original)
+++ camel/trunk/tests/camel-itest/src/test/resources/org/apache/camel/itest/http/HttpMaxConnectionPerHostTest-context.xml Wed Feb 11 07:23:45 2009
@@ -30,8 +30,13 @@
     </bean>
 
     <bean id="myHttpConnectionManager" class="org.apache.commons.httpclient.MultiThreadedHttpConnectionManager">
-        <property name="maxConnectionsPerHost" value="5"/>
+        <property name="params" ref="myHttpConnectionManagerParams"/>
     </bean>
+
+    <bean id="myHttpConnectionManagerParams" class="org.apache.commons.httpclient.params.HttpConnectionManagerParams">
+        <property name="defaultMaxConnectionsPerHost" value="5"/>
+    </bean>
+
     <!-- END SNIPPET: e1 -->
 
     <!-- START SNIPPET: e2 -->