camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Babak Vahdat (Commented) (JIRA)" <>
Subject [jira] [Commented] (CAMEL-5002) BaseTypeConverter blocks when getting type converter
Date Thu, 16 Feb 2012 15:10:59 GMT


Babak Vahdat commented on CAMEL-5002:

The fix provided by this ticket has broken regression:$camel-xmlbeans/698/testReport/junit/org.apache.camel.converter.xmlbeans/XmlBeansConcurrencyTest/testConcurrentProducers/

If you would revert BaseTypeConverterRegistry to what it was before (with synchronized blocks)
then this test would pass. I'm looking into it but have not found a workround yet.
> BaseTypeConverter blocks when getting type converter
> ----------------------------------------------------
>                 Key: CAMEL-5002
>                 URL:
>             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:!default.jspa
For more information on JIRA, see:


View raw message