HTTP Message Sender

OpenHub framework provides own customized solution as CloseableHttpComponentsMessageSender, which uses the Apache HttpComponents HttpClient. Use that if you need more advanced and easy-to-use functionality (such as authentication, HTTP connection pooling, and so forth).

The following example shows how to configure this component, and to use Apache HttpClient to authenticate using HTTP authentication with connection poolling per host: