diff --git a/src/reference/docbook/http.xml b/src/reference/docbook/http.xml index 21a162a18a..7a22bc51da 100644 --- a/src/reference/docbook/http.xml +++ b/src/reference/docbook/http.xml @@ -619,7 +619,7 @@ By default the HTTP request will be generated using an instance of Si HttpComponentsClientHttpRequestFactory - - Uses Apache HttpComponents HttpClient (Since Spring 3.1) + - Uses Apache HttpComponents HttpClient (Since Spring 3.1) ClientHttpRequestFactory @@ -652,6 +652,13 @@ By default the HTTP request will be generated using an instance of Si + + When using the Apache HttpComponents HttpClient with a Pooling Connection Manager, be aware that, by + default, the connection manager will create no more than 2 concurrent connections per given route and no more than 20 connections + in total. For many real-world applications these limits may prove too constraining. Refer to the Apache documentation + (link above) for information about configuring this important component. + + Here is an example of how to configure an HTTP Outbound Gateway using a SimpleClientHttpRequestFactory, configured