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 2026/01/18 17:39:00 UTC

[jira] [Commented] (CAMEL-22873) camel-core - Add support for ternary operator

    [ https://issues.apache.org/jira/browse/CAMEL-22873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18052711#comment-18052711 ] 

Claus Ibsen commented on CAMEL-22873:
-------------------------------------

There is already the iif function for this, but it may be nice to have the xxx ? a : b syntax that is well known

> camel-core - Add support for ternary operator
> ---------------------------------------------
>
>                 Key: CAMEL-22873
>                 URL: https://issues.apache.org/jira/browse/CAMEL-22873
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Priority: Major
>
> This is a bit harder as it has 2 right hand side where we today only have 1 right hand side.
>  



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