camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-11533) Simple language - comparison againist negative value fails with unknown token
Date Thu, 13 Jul 2017 12:13:00 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-11533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16085617#comment-16085617
] 

ASF GitHub Bot commented on CAMEL-11533:
----------------------------------------

Github user onders86 closed the pull request at:

    https://github.com/apache/camel/pull/1820


> 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: Bug
>          Components: camel-core
>            Reporter: ├ľnder Sezgin
>            Assignee: ├ľnder Sezgin
>            Priority: Minor
>             Fix For: 2.18.5, 2.19.2, 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)

Mime
View raw message