[
https://issues.apache.org/jira/browse/CAMEL-11050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15937210#comment-15937210
]
ASF GitHub Bot commented on CAMEL-11050:
----------------------------------------
Github user zregvart closed the pull request at:
https://github.com/apache/camel/pull/1560
> Support for optional query parameters in REST component
> -------------------------------------------------------
>
> Key: CAMEL-11050
> URL: https://issues.apache.org/jira/browse/CAMEL-11050
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Affects Versions: 2.19.0
> Reporter: Zoran Regvart
> Assignee: Zoran Regvart
> Priority: Minor
>
> I would like to add support for optional query parameters in REST component.
> These optional parameters would not be added to the dispatched HTTP request
> unless present in the message headers. Currently if not present they would be
> passed as {{param={header_name}}}.
> I propose adding {{?}} to the {{header_name}} to signify that this parameter
> is optional, i.e. in endpoint URL {{param={header_name?}}}.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)