Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-7242

when(body().isInstanceOf(Collection.class)) does not work in 2.10.7

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.10.7
    • 2.12.0
    • 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.

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            oleg.kozlov Oleg Kozlov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: