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 2021/03/17 10:10:00 UTC

[jira] [Comment Edited] (CAMEL-16219) camel-core - Kamelet - Add support for optional template parameters

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

Claus Ibsen edited comment on CAMEL-16219 at 3/17/21, 10:09 AM:
----------------------------------------------------------------

TODO: optional parameters in model *DONE*
TODO: use {{?key} syntax *DONE*
TODO: camel-kamelet test *DONE*
TODO: update docs *DONE*


was (Author: davsclaus):
TODO: optional parameters in model
TODO: use {{?key} syntax
TODO: camel-kamelet test
TODO: update docs

> camel-core - Kamelet - Add support for optional template parameters
> -------------------------------------------------------------------
>
>                 Key: CAMEL-16219
>                 URL: https://issues.apache.org/jira/browse/CAMEL-16219
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 3.9.0
>
>
> Currently template parameters requires a value so either they are mandatory or has a default value.
> But there can be some use-cases where you want an optional parameter, and if there is no value, then its not in use, eg in endpoint uris as part of query parameters (key=value) then if no value then dont include the key.



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