camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: ObjectConverter problem
Date Tue, 28 Feb 2012 10:55:38 GMT

Yeah this is correct. I am adding a special check for NaN in the type
converter so we can deal with this situation.

On Sun, Feb 26, 2012 at 10:58 PM, michal.warecki
<> wrote:
> Hmm, looks like more to work around the problem by changing the test instead
> of improving the code :-) There is no Integer equivalent to Double.NaN and
> Float.NaN so it seems more appropriate to me to return null value. It seems
> to me that this should be treated like the rest of the types that have no
> Integer equivalent.
> The case is currently implemented whenever xpath does not find value,
> returns 0 which is not correct.
> Cheers
> --
> View this message in context:
> Sent from the Camel Development mailing list archive at

Claus Ibsen
Twitter: davsclaus, fusenews
Author of Camel in Action:

View raw message