[
https://issues.apache.org/jira/browse/CAMEL-11050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zoran Regvart updated CAMEL-11050:
----------------------------------
Fix Version/s: 2.19.0
> 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
> Fix For: 2.19.0
>
>
> 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)