You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "onder sezgin (JIRA)" <ji...@apache.org> on 2017/07/11 13:32:00 UTC

[jira] [Created] (CAMEL-11533) Simple language - comparison againist negative value fails with unknown token

onder sezgin created CAMEL-11533:
------------------------------------

             Summary: Simple language - comparison againist negative value fails with unknown token
                 Key: CAMEL-11533
                 URL: https://issues.apache.org/jira/browse/CAMEL-11533
             Project: Camel
          Issue Type: Improvement
          Components: camel-core
            Reporter: onder sezgin
            Assignee: onder sezgin
            Priority: Minor
             Fix For: 2.20.0


{code}
from("seda:test")
     .choice()
        .when()
           .simple("${in.body.someval} == -1}").to("mock:mock1")
        .otherwise()
           .to("mock:mock2")
        .endChoice();
{code}

ends with 

org.apache.camel.language.simple.types.SimpleIllegalSyntaxException: Binary operator == does not support token - 

this can be improved to note - sign



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)