[
https://issues.apache.org/jira/browse/CAMEL-24376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18103968#comment-18103968
]
Claus Ibsen commented on CAMEL-24376:
-------------------------------------
Fixed via https://github.com/apache/camel/pull/25450 (merged to main, target
4.23.0)
> 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
> Assignee: Omar Atie
> Priority: Minor
> Fix For: 4.23.0
>
>
> 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)