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

Claus Ibsen commented on CAMEL-5002:
------------------------------------

Just in case, there may be another component where we should enforce the TC to 
be loaded up-front. I just did a quick search for tests with similar name.

./components/camel-rmi/src/test/java/org/apache/camel/component/rmi/RmiConcurrencyTest.java
./components/camel-saxon/src/test/java/org/apache/camel/component/xquery/XQueryConcurrencyTest.java
./components/camel-saxon/src/test/java/org/apache/camel/component/xquery/XQueryURLBasedConcurrencyTest.java
./components/camel-xmlbeans/src/test/java/org/apache/camel/converter/xmlbeans/XmlBeansConcurrencyTest.java
./components/camel-xmlsecurity/src/test/java/org/apache/camel/dataformat/xmlsecurity/XMLSecurityConcurrencyTest.java
./components/camel-xstream/src/test/java/org/apache/camel/dataformat/xstream/XStreamConcurrencyTest.java
                
> 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: Claus Ibsen
>             Fix For: 2.9.1, 2.10.0
>
>         Attachments: after.png, before.png
>
>
> 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

        

Reply via email to