You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by kmonging <km...@gmail.com> on 2013/07/14 12:19:40 UTC

Turning off warning message in ObjectHelper

While upgrading from camel 2.10.4 to camel 2.10.5, i noticed some additional
warning messages in the ObjectHelper class, is there anyway to turn it off? 
The value is assigned correctly, just the annoying warning message. :( 

Below are the snippet of the configuration and logs.

<util:map id="testMap">
	<entry key="isMaster" value="false"/>
</util:map>
	
<route>
	<from uri="timer://test?period=10000" />
	<bean ref="testMap" method="put('isMaster','true')" />
</route>
	
[DEBUG] o.s.b.f.s.DefaultListableBeanFactory> Returning cached instance of
singleton bean 'testMap'
[WARN ] o.a.c.u.ObjectHelper> Cannot find class: isMaster

Thanks in advance.



--
View this message in context: http://camel.465427.n5.nabble.com/Turning-off-warning-message-in-ObjectHelper-tp5735616.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Turning off warning message in ObjectHelper

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

Thanks for reporting. I have logged a ticket to get this improved/fixed
https://issues.apache.org/jira/browse/CAMEL-6553

On Sun, Jul 14, 2013 at 12:19 PM, kmonging <km...@gmail.com> wrote:
> While upgrading from camel 2.10.4 to camel 2.10.5, i noticed some additional
> warning messages in the ObjectHelper class, is there anyway to turn it off?
> The value is assigned correctly, just the annoying warning message. :(
>
> Below are the snippet of the configuration and logs.
>
> <util:map id="testMap">
>         <entry key="isMaster" value="false"/>
> </util:map>
>
> <route>
>         <from uri="timer://test?period=10000" />
>         <bean ref="testMap" method="put('isMaster','true')" />
> </route>
>
> [DEBUG] o.s.b.f.s.DefaultListableBeanFactory> Returning cached instance of
> singleton bean 'testMap'
> [WARN ] o.a.c.u.ObjectHelper> Cannot find class: isMaster
>
> Thanks in advance.
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Turning-off-warning-message-in-ObjectHelper-tp5735616.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen