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)

Reply via email to