You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Oleg Kozlov (JIRA)" <ji...@apache.org> on 2014/02/26 03:13:19 UTC
[jira] [Updated] (CAMEL-7242)
when(body().isInstanceOf(Collection.class)) does not work in 2.10.7
[ https://issues.apache.org/jira/browse/CAMEL-7242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Oleg Kozlov updated CAMEL-7242:
-------------------------------
Description:
I have a body object of type ArrayList<String>, the following Java DSL when() condition incorrectly evaluates to "false" in Camel version 2.10.7. In versions 2.10.3 and 2.12.2 it evaluates correctly to "true".
when(body().isInstanceOf(Collection.class))
Using Java 6.
was:
I have a body object of type ArrayList<String>, the following Java DSL when() condition evaluates to "false". In versions 2.10.3 and 2.12.2 it evaluates correctly to "true".
when(body().isInstanceOf(Collection.class))
> when(body().isInstanceOf(Collection.class)) does not work in 2.10.7
> -------------------------------------------------------------------
>
> Key: CAMEL-7242
> URL: https://issues.apache.org/jira/browse/CAMEL-7242
> Project: Camel
> Issue Type: Bug
> Affects Versions: 2.10.7
> Reporter: Oleg Kozlov
>
> I have a body object of type ArrayList<String>, the following Java DSL when() condition incorrectly evaluates to "false" in Camel version 2.10.7. In versions 2.10.3 and 2.12.2 it evaluates correctly to "true".
> when(body().isInstanceOf(Collection.class))
> Using Java 6.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)