You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Willem Jiang (Commented) (JIRA)" <ji...@apache.org> on 2012/02/14 15:39:59 UTC

[jira] [Commented] (CAMEL-5002) BaseTypeConverter blocks when getting type converter

    [ https://issues.apache.org/jira/browse/CAMEL-5002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13207744#comment-13207744 ] 

Willem Jiang commented on CAMEL-5002:
-------------------------------------

Hi Nick,

I just checked the code of camel-2.9.x , there is no BaseTypeConveter.
Can  you double check the version of camel ?
BTW, a patch could be more precise to discrib the question.

Willem
                
> BaseTypeConverter blocks when getting type converter
> ----------------------------------------------------
>
>                 Key: CAMEL-5002
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5002
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.9.0
>            Reporter: Nick Heudecker
>            Assignee: Willem Jiang
>
> When load testing my application, BaseTypeConverter#getOrFindTypeConverter caused threads to block due to the synchronized block in the getOrFindTypeConverter method.  This was triggered when exchange.getIn().getBody(Class) was called.  Changing the method to getBody() resulted in higher application throughput.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira