GitHub user zregvart opened a pull request:

    https://github.com/apache/camel/pull/1426

    CAMEL-10763 Make HTTP4 component easy to extend

    I've re-factored the creation of `HttpClientBuilder` and 
`HttpClientConnectionManager` into separate methods. This makes 
`createEndpoint` contain less logic so that the component that could be based 
on `camel-http` could use these new metod to create it's own `Endpoint` 
implementation.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/zregvart/camel CAMEL-10763

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/1426.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1426
    
----
commit 6b79bd33b56f1d0c924b43382452fa2042922829
Author: Zoran Regvart <zo...@regvart.com>
Date:   2017-01-27T19:19:10Z

    Extract HttpClientBuilder creation
    
    This commit extracts creation of `HttpClientBuilder` in a separate
    method `createHttpClientBuilder`, this method can be then reused from a
    component based on the `HttpComponent`.
    
    (cherry picked from commit e3601df1eb06988ca326dedfd7bb0f5508a3bb1a)

commit 65a19d3334edb3a6a4e267a570c08bb75a8d9010
Author: Zoran Regvart <zo...@regvart.com>
Date:   2017-01-27T19:42:37Z

    Extract HttpClientConnectionManager creation
    
    This commit extracts creation of `HttpClientConnectionManager` in a
    separate method `createConnectionManager`, this method can be then
    reused from a component based on the `HttpComponent`.
    
    (cherry picked from commit dd8b972ea5e7e0cc3e94f30d7261900cb780305f)

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to