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

Claus Ibsen commented on CAMEL-2177:
------------------------------------

An example
{code}
[    Camel thread 2: ToAsync[cxf:bean:reportIncidentEndpoint]] 
DefaultTypeConverter WARN  Overriding type converter from: 
StaticMethodFallbackTypeConverter: public static java.lang.Object 
org.apache.camel.component.cxf.converter.CxfConverter.convertTo(java.lang.Class,org.apache.camel.Exchange,java.lang.Object,org.apache.camel.spi.TypeConverterRegistry)
 to: StaticMethodFallbackTypeConverter: public static java.lang.Object 
org.apache.camel.component.cxf.converter.CxfConverter.convertTo(java.lang.Class,org.apache.camel.Exchange,java.lang.Object,org.apache.camel.spi.TypeConverterRegistry)
[    Camel thread 1: ToAsync[cxf:bean:reportIncidentEndpoint]] 
DefaultTypeConverter WARN  Overriding type converter from: 
StaticMethodFallbackTypeConverter: public static java.lang.Object 
org.apache.camel.component.cxf.converter.CxfConverter.convertTo(java.lang.Class,org.apache.camel.Exchange,java.lang.Object,org.apache.camel.spi.TypeConverterRegistry)
 to: StaticMethodFallbackTypeConverter: public static java.lang.Object 
org.apache.camel.component.cxf.converter.CxfConverter.convertTo(java.lang.Class,org.apache.camel.Exchange,java.lang.Object,org.apache.camel.spi.TypeConverterRegistry)
{code}

> Initialization of DefaultTypeConverter should only let one do the classpath 
> scanning for @Converter
> ---------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-2177
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2177
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.0.0
>            Reporter: Claus Ibsen
>             Fix For: 2.2.0
>
>
> In cases multiple requests hit Camel really fast after startup, a race 
> condition can lead to multiple threads doing concurrent classpath scanning 
> for @Converter

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

Reply via email to