You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Cameron Fitzwater (Jira)" <ji...@apache.org> on 2026/08/10 18:16:00 UTC

[jira] [Created] (CAMEL-24376) boolean zen not working with logical operator

Cameron Fitzwater created CAMEL-24376:
-----------------------------------------

             Summary: 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


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
 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)