[
https://issues.apache.org/jira/browse/CAMEL-24376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Cameron Fitzwater updated CAMEL-24376:
--------------------------------------
Description:
The shorthand (boolean zen) is not working/evaluating with using a logical
operator, and instead throws an error:
Caused by: org.apache.camel.language.simple.types.SimpleIllegalSyntaxException:
Logical operator || does not support right hand side token $\{...
Code:
${bean:sessionTokenManager.getSessionToken} == null ||
${exchangeProperty.forceNewSessionToken}
*When using the boolean zen by itself (with no logical operator), it works as
expected.*
I reviewed and confirmed that this is different that what was resolved here:
https://issues.apache.org/jira/browse/CAMEL-23796
was:
The shorthand (boolean zen) is not working/evaluating with using a logical
operator, and instead throws an error:
Caused by: org.apache.camel.language.simple.types.SimpleIllegalSyntaxException:
Logical operator || does not support right hand side token ${
${bean:sessionTokenManager.getSessionToken} == null ||
${exchangeProperty.forceNewSessionToken}
*When using the boolean zen by itself (with no logical operator), it works as
expected.*
I reviewed and confirmed that this is different that what was resolved here:
https://issues.apache.org/jira/browse/CAMEL-23796
> boolean zen not working with logical operator
> ---------------------------------------------
>
> Key: CAMEL-24376
> URL: https://issues.apache.org/jira/browse/CAMEL-24376
> Project: Camel
> Issue Type: Bug
> Affects Versions: 4.21.0
> Reporter: Cameron Fitzwater
> Priority: Minor
>
> The shorthand (boolean zen) is not working/evaluating with using a logical
> operator, and instead throws an error:
> Caused by:
> org.apache.camel.language.simple.types.SimpleIllegalSyntaxException: Logical
> operator || does not support right hand side token $\{...
> Code:
> ${bean:sessionTokenManager.getSessionToken} == null ||
> ${exchangeProperty.forceNewSessionToken}
>
> *When using the boolean zen by itself (with no logical operator), it works as
> expected.*
>
> I reviewed and confirmed that this is different that what was resolved here:
> https://issues.apache.org/jira/browse/CAMEL-23796
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)