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 2022/05/06 10:32:00 UTC

[jira] [Created] (CAMEL-18070) camel-core - Simple - Make it easy to check if property placeholder exists or not

Claus Ibsen created CAMEL-18070:
-----------------------------------

             Summary: camel-core - Simple - Make it easy to check if property placeholder exists or not
                 Key: CAMEL-18070
                 URL: https://issues.apache.org/jira/browse/CAMEL-18070
             Project: Camel
          Issue Type: Improvement
          Components: camel-core
            Reporter: Claus Ibsen
             Fix For: 3.x


To make it easy to check that keyName exists or not.

Well its easy to check if it exists but not the opposite

<simple>{{?keyName}}</simple>

We need a not argument for this

<simple>{{?keyName}} == null</simple>

Or something ala

<simple>{{!keyName}}</simple>

<simple>${properties:!keyName}</simple>





--
This message was sent by Atlassian Jira
(v8.20.7#820007)