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 2020/03/14 15:11:00 UTC

[jira] [Commented] (CAMEL-14717) camel-core - Binding properties add support for optional keys

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

Claus Ibsen commented on CAMEL-14717:
-------------------------------------

camel.component.aws*.access-key=myAccessKey
camel.component.aws*.secret-key=mySecretKey
camel.component.aws*.region=US_EAST_1
camel.component.aws*.unknown?=does not exist

So you can say unknown? to indicate its an optional key that should only be set if its there or not (ignore missing key)

> camel-core - Binding properties add support for optional keys
> -------------------------------------------------------------
>
>                 Key: CAMEL-14717
>                 URL: https://issues.apache.org/jira/browse/CAMEL-14717
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core, camel-main
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 3.2.0
>
>
> See https://issues.apache.org/jira/browse/CAMEL-14598
> So you can use keys that may be optional, by having a ? at the end of the key name



--
This message was sent by Atlassian Jira
(v8.3.4#803005)