You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2014/02/26 07:53:20 UTC

[jira] [Resolved] (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 ]

Claus Ibsen resolved CAMEL-7242.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.12.0
         Assignee: Claus Ibsen

Fixed in 2.12 onwards. 

Camel 2.10.x is EOL

> 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
>            Assignee: Claus Ibsen
>             Fix For: 2.12.0
>
>
> 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)