You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by "gustavo.maurizio" <gm...@me.com> on 2016/10/27 13:03:20 UTC

help with WARN messages in camel 2.18.0

We are receiving some error messages when upgrading route to 2.18. 

Any ideas?
[         Blueprint Extender: 2] ManagedManagementStrategy      INFO  JMX is
enabled
[         Blueprint Extender: 2] DefaultTypeConverter           WARN 
Overriding type converter from: StaticMethodTypeConverter: public static
javax.servlet.http.HttpServletRequest
org.apache.camel.http.common.HttpConverter.toServletRequest(org.apache.camel.Message)
to: StaticMethodTypeConverter: public static
javax.servlet.http.HttpServletRequest
org.apache.camel.http.common.HttpConverter.toServletRequest(org.apache.camel.Message)
[         Blueprint Extender: 2] DefaultTypeConverter           WARN 
Overriding type converter from: StaticMethodTypeConverter: public static
java.io.InputStream
org.apache.camel.http.common.HttpConverter.toInputStream(org.apache.camel.http.common.HttpMessage,org.apache.camel.Exchange)
throws java.lang.Exception to: StaticMethodTypeConverter: public static
java.io.InputStream
org.apache.camel.http.common.HttpConverter.toInputStream(org.apache.camel.http.common.HttpMessage,org.apache.camel.Exchange)
throws java.lang.Exception
[         Blueprint Extender: 2] DefaultTypeConverter           WARN 
Overriding type converter from: StaticMethodTypeConverter: public static
java.io.InputStream
org.apache.camel.http.common.HttpConverter.toInputStream(javax.servlet.http.HttpServletRequest,org.apache.camel.Exchange)
throws java.io.IOException to: StaticMethodTypeConverter: public static
java.io.InputStream
org.apache.camel.http.common.HttpConverter.toInputStream(javax.servlet.http.HttpServletRequest,org.apache.camel.Exchange)
throws java.io.IOException
[         Blueprint Extender: 2] DefaultTypeConverter           WARN 
Overriding type converter from: StaticMethodTypeConverter: public static
java.io.BufferedReader
org.apache.camel.http.common.HttpConverter.toReader(org.apache.camel.http.common.HttpMessage)
throws java.io.IOException to: StaticMethodTypeConverter: public static
java.io.BufferedReader
org.apache.camel.http.common.HttpConverter.toReader(org.apache.camel.http.common.HttpMessage)
throws java.io.IOException
[         Blueprint Extender: 2] DefaultTypeConverter           WARN 
Overriding type converter from: StaticMethodTypeConverter: public static
javax.servlet.ServletInputStream
org.apache.camel.http.common.HttpConverter.toServletInputStream(org.apache.camel.http.common.HttpMessage)
throws java.io.IOException to: StaticMethodTypeConverter: public static
javax.servlet.ServletInputStream
org.apache.camel.http.common.HttpConverter.toServletInputStream(org.apache.camel.http.common.HttpMessage)
throws java.io.IOException
[         Blueprint Extender: 2] DefaultTypeConverter           WARN 
Overriding type converter from: StaticMethodTypeConverter: public static
javax.servlet.http.HttpServletResponse
org.apache.camel.http.common.HttpConverter.toServletResponse(org.apache.camel.Message)
to: StaticMethodTypeConverter: public static
javax.servlet.http.HttpServletResponse
org.apache.camel.http.common.HttpConverter.toServletResponse(org.apache.camel.Message)
[         Blueprint Extender: 2] DefaultTypeConverter           WARN 
Overriding type converter from: StaticMethodTypeConverter: public static
org.apache.activemq.command.ActiveMQDestination
org.apache.activemq.camel.converter.ActiveMQConverter.toDestination(java.lang.String)
to: StaticMethodTypeConverter: public static
org.apache.activemq.command.ActiveMQDestination
org.apache.activemq.camel.converter.ActiveMQConverter.toDestination(java.lang.String)
[         Blueprint Extender: 2] DefaultTypeConverter           WARN 
Overriding type converter from: InstanceMethodTypeConverter: public
org.apache.camel.Processor
org.apache.activemq.camel.converter.ActiveMQMessageConverter.toProcessor(javax.jms.MessageListener)
to: InstanceMethodTypeConverter: public org.apache.camel.Processor
org.apache.activemq.camel.converter.ActiveMQMessageConverter.toProcessor(javax.jms.MessageListener)
[         Blueprint Extender: 2] DefaultTypeConverter           WARN 
Overriding type converter from: InstanceMethodTypeConverter: public
org.apache.activemq.command.ActiveMQMessage
org.apache.activemq.camel.converter.ActiveMQMessageConverter.toMessage(org.apache.camel.Exchange)
throws javax.jms.JMSException to: InstanceMethodTypeConverter: public
org.apache.activemq.command.ActiveMQMessage
org.apache.activemq.camel.converter.ActiveMQMessageConverter.toMessage(org.apache.camel.Exchange)
throws javax.jms.JMSException
[         Blueprint Extender: 2] DefaultTypeConverter           WARN 
Overriding type converter from: StaticMethodTypeConverter: public static
java.io.InputStream
org.apache.camel.spring.converter.ResourceConverter.convertToInputStream(org.springframework.core.io.Resource)
throws java.io.IOException to: StaticMethodTypeConverter: public static
java.io.InputStream
org.apache.camel.spring.converter.ResourceConverter.convertToInputStream(org.springframework.core.io.Resource)
throws java.io.IOException
[         Blueprint Extender: 2] DefaultRuntimeEndpointRegistry INFO 
Runtime endpoint registry is in extended mode gathering usage statistics of
all incoming and outgoing endpoints (cache limit: 1000)
[         Blueprint Extender: 2] DefaultStreamCachingStrategy   INFO 
StreamCaching in use with spool directory:
/tmp/camel/camel-tmp-a9e4900f-2286-47a0-848a-7e0899104ce0 and rules: [Spool
> 128K body size]
[         Blueprint Extender: 2] FileEndpoint                   INFO 
Endpoint is configured with noop=true so forcing endpoint to be idempotent
as well




--
View this message in context: http://camel.465427.n5.nabble.com/help-with-WARN-messages-in-camel-2-18-0-tp5789348.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: help with WARN messages in camel 2.18.0

Posted by Claus Ibsen <cl...@gmail.com>.
Essentially you can ignore those WARNs but you can also configure what
Camel should do with the TypeConverterExists option.

See for example this unit test
https://github.com/apache/camel/blob/master/camel-core/src/test/java/org/apache/camel/impl/TypeConverterRegistryTest.java



On Thu, Oct 27, 2016 at 3:03 PM, gustavo.maurizio <gm...@me.com> wrote:
> We are receiving some error messages when upgrading route to 2.18.
>
> Any ideas?
> [         Blueprint Extender: 2] ManagedManagementStrategy      INFO  JMX is
> enabled
> [         Blueprint Extender: 2] DefaultTypeConverter           WARN
> Overriding type converter from: StaticMethodTypeConverter: public static
> javax.servlet.http.HttpServletRequest
> org.apache.camel.http.common.HttpConverter.toServletRequest(org.apache.camel.Message)
> to: StaticMethodTypeConverter: public static
> javax.servlet.http.HttpServletRequest
> org.apache.camel.http.common.HttpConverter.toServletRequest(org.apache.camel.Message)
> [         Blueprint Extender: 2] DefaultTypeConverter           WARN
> Overriding type converter from: StaticMethodTypeConverter: public static
> java.io.InputStream
> org.apache.camel.http.common.HttpConverter.toInputStream(org.apache.camel.http.common.HttpMessage,org.apache.camel.Exchange)
> throws java.lang.Exception to: StaticMethodTypeConverter: public static
> java.io.InputStream
> org.apache.camel.http.common.HttpConverter.toInputStream(org.apache.camel.http.common.HttpMessage,org.apache.camel.Exchange)
> throws java.lang.Exception
> [         Blueprint Extender: 2] DefaultTypeConverter           WARN
> Overriding type converter from: StaticMethodTypeConverter: public static
> java.io.InputStream
> org.apache.camel.http.common.HttpConverter.toInputStream(javax.servlet.http.HttpServletRequest,org.apache.camel.Exchange)
> throws java.io.IOException to: StaticMethodTypeConverter: public static
> java.io.InputStream
> org.apache.camel.http.common.HttpConverter.toInputStream(javax.servlet.http.HttpServletRequest,org.apache.camel.Exchange)
> throws java.io.IOException
> [         Blueprint Extender: 2] DefaultTypeConverter           WARN
> Overriding type converter from: StaticMethodTypeConverter: public static
> java.io.BufferedReader
> org.apache.camel.http.common.HttpConverter.toReader(org.apache.camel.http.common.HttpMessage)
> throws java.io.IOException to: StaticMethodTypeConverter: public static
> java.io.BufferedReader
> org.apache.camel.http.common.HttpConverter.toReader(org.apache.camel.http.common.HttpMessage)
> throws java.io.IOException
> [         Blueprint Extender: 2] DefaultTypeConverter           WARN
> Overriding type converter from: StaticMethodTypeConverter: public static
> javax.servlet.ServletInputStream
> org.apache.camel.http.common.HttpConverter.toServletInputStream(org.apache.camel.http.common.HttpMessage)
> throws java.io.IOException to: StaticMethodTypeConverter: public static
> javax.servlet.ServletInputStream
> org.apache.camel.http.common.HttpConverter.toServletInputStream(org.apache.camel.http.common.HttpMessage)
> throws java.io.IOException
> [         Blueprint Extender: 2] DefaultTypeConverter           WARN
> Overriding type converter from: StaticMethodTypeConverter: public static
> javax.servlet.http.HttpServletResponse
> org.apache.camel.http.common.HttpConverter.toServletResponse(org.apache.camel.Message)
> to: StaticMethodTypeConverter: public static
> javax.servlet.http.HttpServletResponse
> org.apache.camel.http.common.HttpConverter.toServletResponse(org.apache.camel.Message)
> [         Blueprint Extender: 2] DefaultTypeConverter           WARN
> Overriding type converter from: StaticMethodTypeConverter: public static
> org.apache.activemq.command.ActiveMQDestination
> org.apache.activemq.camel.converter.ActiveMQConverter.toDestination(java.lang.String)
> to: StaticMethodTypeConverter: public static
> org.apache.activemq.command.ActiveMQDestination
> org.apache.activemq.camel.converter.ActiveMQConverter.toDestination(java.lang.String)
> [         Blueprint Extender: 2] DefaultTypeConverter           WARN
> Overriding type converter from: InstanceMethodTypeConverter: public
> org.apache.camel.Processor
> org.apache.activemq.camel.converter.ActiveMQMessageConverter.toProcessor(javax.jms.MessageListener)
> to: InstanceMethodTypeConverter: public org.apache.camel.Processor
> org.apache.activemq.camel.converter.ActiveMQMessageConverter.toProcessor(javax.jms.MessageListener)
> [         Blueprint Extender: 2] DefaultTypeConverter           WARN
> Overriding type converter from: InstanceMethodTypeConverter: public
> org.apache.activemq.command.ActiveMQMessage
> org.apache.activemq.camel.converter.ActiveMQMessageConverter.toMessage(org.apache.camel.Exchange)
> throws javax.jms.JMSException to: InstanceMethodTypeConverter: public
> org.apache.activemq.command.ActiveMQMessage
> org.apache.activemq.camel.converter.ActiveMQMessageConverter.toMessage(org.apache.camel.Exchange)
> throws javax.jms.JMSException
> [         Blueprint Extender: 2] DefaultTypeConverter           WARN
> Overriding type converter from: StaticMethodTypeConverter: public static
> java.io.InputStream
> org.apache.camel.spring.converter.ResourceConverter.convertToInputStream(org.springframework.core.io.Resource)
> throws java.io.IOException to: StaticMethodTypeConverter: public static
> java.io.InputStream
> org.apache.camel.spring.converter.ResourceConverter.convertToInputStream(org.springframework.core.io.Resource)
> throws java.io.IOException
> [         Blueprint Extender: 2] DefaultRuntimeEndpointRegistry INFO
> Runtime endpoint registry is in extended mode gathering usage statistics of
> all incoming and outgoing endpoints (cache limit: 1000)
> [         Blueprint Extender: 2] DefaultStreamCachingStrategy   INFO
> StreamCaching in use with spool directory:
> /tmp/camel/camel-tmp-a9e4900f-2286-47a0-848a-7e0899104ce0 and rules: [Spool
>> 128K body size]
> [         Blueprint Extender: 2] FileEndpoint                   INFO
> Endpoint is configured with noop=true so forcing endpoint to be idempotent
> as well
>
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/help-with-WARN-messages-in-camel-2-18-0-tp5789348.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2