Ivan Ravin created CAMEL-24407:
----------------------------------
Summary: 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
Reporter: Ivan Ravin
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, "TestRoute.cLog_1", "${body}")
.end();
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)