You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2008/07/23 14:03:00 UTC

[jira] Commented: (SM-1478) ServiceMix http binding component should allow option to create jetty Client per HttpProvider.

    [ https://issues.apache.org/activemq/browse/SM-1478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44478#action_44478 ] 

Guillaume Nodet commented on SM-1478:
-------------------------------------

Btw, I've recently modified the configuration of the jetty client to use non blocking nio selectors instead of standard sockets, and this also seems to work much better and does not lead to a freeze afaik.
This does not prevent us from applying this patch of course, but i thought it would be worth mentioning ...

> ServiceMix http binding component should allow option to create jetty Client per HttpProvider.
> ----------------------------------------------------------------------------------------------
>
>                 Key: SM-1478
>                 URL: https://issues.apache.org/activemq/browse/SM-1478
>             Project: ServiceMix
>          Issue Type: Improvement
>          Components: servicemix-http
>    Affects Versions: 3.2.1
>            Reporter: Ulhas Bhole
>            Assignee: Ulhas Bhole
>         Attachments: jettyClientPerProvider.patch
>
>
> Currently servicemix-http binding component requires all HttpProviderEndpoints to use one shared jetty HttpClient for request dispatch. 
> I am attaching a patch which will keep this default behaviour but will allow HttpComponent to configure in such a way that each HttpProviderComponent can have it's own jetty HttpClient. 
> Currently, bug in jetty HttpClient freezes Servicemix under heavy load when Jetty Threadpool size is lower than maxConnectionPerHost. This fix along with configurable threadpool fix applied by Guillaume will allow servicemix to be more responsive. 
> I have attached a patch with the Jira.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.