Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.10.7
-
None
-
None
-
Unknown
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.