Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Implemented
-
2.19.0
-
None
-
Unknown
Description
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?}.
Attachments
Issue Links
- causes
-
CAMEL-12594 Rest Producer - Query Parameters : Wrong query parameter name is used when header substitution is performed
- Resolved
- links to