You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by tkopczynski <gi...@git.apache.org> on 2016/09/05 19:07:22 UTC

[GitHub] camel pull request #1157: CAMEL-10240: Fix for thread pool sizes in CamelHtt...

GitHub user tkopczynski opened a pull request:

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

    CAMEL-10240: Fix for thread pool sizes in CamelHttpClient

    Fixes CAMEL-10240.
    
    Things I did:
    
    - Removed setting the `QueuedThreadPool` size to 16 in `CamelHttpClient`. Now it relies on defaults in `QueuedThreadPool` class itself.
    
    - Added a constructor in `CamelHttpClient` for setting `HttpClientTransport`.
    
    - If the `httpClientMaxThreads` parameter is set, it becomes the selectors number for the `HttpClientTransport` instance. I'm not sure about this one but I thought it might be good to enable the possibility to configure this instead of having the dependency on `Runtime.getRuntime().availableProcessors()` for all cases. But maybe it would be better to create a new parameter for this?


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

    $ git pull https://github.com/tkopczynski/camel camel-10240

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

    https://github.com/apache/camel/pull/1157.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 #1157
    
----
commit 6f12d971fe55738ee6f1e96b33917cd230d8af99
Author: Tomasz Kopczynski <to...@kopczynski.net.pl>
Date:   2016-09-05T18:55:04Z

    CAMEL-10240: Fix for thread pool sizes in CamelHttpClient

----


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] camel pull request #1157: CAMEL-10240: Fix for thread pool sizes in CamelHtt...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

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


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---