Claus Ibsen created CAMEL-21081:
-----------------------------------

             Summary: camel-core - Add ternary if function to simple language
                 Key: CAMEL-21081
                 URL: https://issues.apache.org/jira/browse/CAMEL-21081
             Project: Camel
          Issue Type: Improvement
          Components: camel-core
            Reporter: Claus Ibsen
             Fix For: 4.8.0


https://github.com/apache/camel/pull/14888

The ternary function:

predicate ? value1 : value2

Would be nice to have in simple language. However the predicate vs expression 
mode means that the language is optimized differently.

So using a function is better as this is possible in both modes.



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

Reply via email to