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 2013/09/13 09:55:51 UTC

[jira] [Created] (CAMEL-6743) Using @Simple (or others) bean parameter binding for boolean type should eval as predicate

Claus Ibsen created CAMEL-6743:
----------------------------------

             Summary: Using @Simple (or others) bean parameter binding for boolean type should eval as predicate
                 Key: CAMEL-6743
                 URL: https://issues.apache.org/jira/browse/CAMEL-6743
             Project: Camel
          Issue Type: Bug
          Components: camel-core
    Affects Versions: 2.12.0, 2.11.1
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
             Fix For: 2.11.2, 2.12.1, 2.13.0


For example
{code}
        public void read(String body, @Simple("${header.foo} != null") boolean foo) {
{code}

The foo parameter is a boolean and thus the @Simple expression should be evaluated as a predicate and not as an Expression which happens today.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira