title: http connection using http-outbound gateway for parallel requests
body: <p>I want to optimize http-outbound can I use spring integration inbound connection factory But i see its single threaded can i improve it to make parallel  requests.?</p>
  
  <pre><code>class CustomClientHttpRequestFactory extends SimpleClientHttpRequestFactory{
  
  }
  </code></pre>
  
  <p>
      </p>
  
  <p>
          </p>
  
  <pre><code>&lt;/beans:bean&gt;
  
   &lt;beans:bean id="verifier"
        class="myNullHostnameVerifier"&gt;
  
  &lt;/beans:bean&gt;
  
  &lt;beans:bean id="headerMapper" class="org.springframework.integration.http.support.DefaultHttpHeaderMapper"
              factory-method="outboundMapper"&gt;
      &lt;beans:property name="outboundHeaderNames" value="${mapHeaders}"/&gt;
      &lt;beans:property name="userDefinedHeaderPrefix" value=""/&gt;
  &lt;/beans:bean&gt;
  </code></pre>