You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Omar Atie (Jira)" <ji...@apache.org> on 2026/08/12 03:25:00 UTC
[jira] [Assigned] (CAMEL-24376) boolean zen not working with logical operator
[ https://issues.apache.org/jira/browse/CAMEL-24376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Omar Atie reassigned CAMEL-24376:
---------------------------------
Assignee: Omar Atie
> 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
>
> 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)