[
https://issues.apache.org/jira/browse/CAMEL-24407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivan Ravin updated CAMEL-24407:
-------------------------------
Affects Version/s: 4.18.2
> simple predicate fails for long digital strings
> -----------------------------------------------
>
> Key: CAMEL-24407
> URL: https://issues.apache.org/jira/browse/CAMEL-24407
> Project: Camel
> Issue Type: Bug
> Components: came-core
> Affects Versions: 4.10.7, 4.18.2
> Reporter: Ivan Ravin
> Priority: Major
>
> Simple language predicate fails with NumberFormatException when comparing
> long digital strings (for example, bank accounts). It worked at least in
> camel 2, but not in camel 4
> {code:java}
> from("timer:test?repeatCount=1&delay=1000")
> .setHeader("Account1").constant("12345678901234567890")
> .setHeader("Account2").constant("12345678901234567890")
> .filter().simple("${header.Account1} == ${header.Account2}")
> .log(org.apache.camel.LoggingLevel.INFO, "Accounts equals")
> .end();
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)