Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CAMEL-10763 Make HTTP4 component easy to extend #1426

Closed
wants to merge 1 commit into from

Conversation

zregvart
Copy link
Member

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.

@oscerd
Copy link
Contributor

oscerd commented Jan 30, 2017

Looks good to me, can you please add the JIRA references in the commit messages? Thanks!

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

Also this commit extracts creation of `HttpClientBuilder` in a separate
method `createHttpClientBuilder`, this method can be then reused from a
component based on the `HttpComponent`.
@zregvart
Copy link
Member Author

Thank you for reviewing @oscerd, I've squashed the two commits and modified the commit subject to contain the JIRA issue.

@davsclaus
Copy link
Contributor

Oh already merged, I tend to be not so slow ;)

@davsclaus
Copy link
Contributor

Thanks for the PR it has been merged. Do you mind closing this?

@zregvart
Copy link
Member Author

Thanks @oscerd, @davsclaus 👍

@zregvart zregvart closed this Jan 30, 2017
@zregvart zregvart deleted the CAMEL-10763 branch January 30, 2017 13:48
@oscerd
Copy link
Contributor

oscerd commented Jan 30, 2017

@davsclaus is too fast for me :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants