You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2024/08/15 08:13:00 UTC
[jira] [Resolved] (CAMEL-21081) camel-core - Add ternary if function to simple language
[ https://issues.apache.org/jira/browse/CAMEL-21081?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-21081.
---------------------------------
Resolution: Fixed
> 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
> Assignee: Claus Ibsen
> Priority: Major
> 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)