[ 
https://issues.apache.org/jira/browse/CAMEL-24580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Work on CAMEL-24580 started by Karol Krawczyk.
----------------------------------------------
> simple predicate always casts digital strings as numbers
> --------------------------------------------------------
>
>                 Key: CAMEL-24580
>                 URL: https://issues.apache.org/jira/browse/CAMEL-24580
>             Project: Camel
>          Issue Type: Bug
>          Components: came-core
>            Reporter: Ivan Ravin
>            Assignee: Karol Krawczyk
>            Priority: Major
>
> Due to this error, strings with leading zeros are compared incorrectly
> {code:java}
> from("timer:test?repeatCount=1&delay=1000")
> .setHeader("Account1").constant("0001")
> .setHeader("Account2").constant("001")
> .filter().simple("${header.Account1} == ${header.Account2}")
>     .log(LoggingLevel.ERROR, "Accounts not equals")
> .end(); {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to