title: Camel: outgoing connections limit for http component
body: <p>I have a camel context with few routes, which simplified version looks like:</p>
  
  <pre><code>&lt;camelContext id="myContext"&gt;
  
      &lt;threadPoolProfile id="defaultThreadPoolProfile" defaultProfile="true"
              poolSize="50" maxPoolSize="500" maxQueueSize="5000" rejectedPolicy="CallerRuns" /&gt;  
  
      &lt;route id="rest"&gt;
          &lt;from uri="jetty:http://0.0.0.0:8080/service?httpClient.idleTimeout=30000&amp;amp;httpClient.soTimeout=30000&amp;amp;httpClient.defaultMaxConnectionsPerHost=150&amp;amp;httpClient.maxTotalConnections=1000" /&gt;
          &lt;to uri="direct:service" /&gt;
      &lt;/route&gt;
  
      &lt;route id="service"&gt;
          &lt;from uri="direct:service" /&gt;
          &lt;to uri="direct:external" /&gt;
          &lt;to uri="direct:response" /&gt;
      &lt;/route&gt;
  
  
      &lt;route id="external"&gt;
          &lt;from uri="direct:external" /&gt;
          &lt;to uri="http4://remote-host/?bridgeEndpoint=true&amp;amp;httpClient.soTimeout=15000&amp;amp;connectionsPerRoute=100&amp;amp;maxTotalConnections=1000" /&gt;
          &lt;convertBodyTo type="java.lang.String" /&gt;
      &lt;/route&gt;
  
      &lt;route id="response"&gt;
          &lt;from uri="direct:response" /&gt;
          &lt;to uri="xslt:response.xsl" /&gt;
      &lt;/route&gt;
  
  &lt;/camelContext&gt;
  </code></pre>
  
  <p>During load tests I noticed, that outgoing connections (via http4 component) are somehow limited. Trying to adjust related component options (as seen in example above) seems do not help. I tried following scenario:</p>
  
  <p>Sending 50 parallel requests at the time with jMeter and monitoring incoming established socket connections on the host where camel is running: I see 50 established connections to Camel at any time (so far so good). At the same time I see only 20 established outgoing connections on Camel-host AND incoming connections remote-host side as well. </p>
  
  <p>For me it seems like Camel is limiting amount of outgoing connections? How to solve this? I would like to have all requests passed-through without any throttling. Using Camel 2.10</p>