Zoran Regvart created CAMEL-11025:
-------------------------------------
Summary: RestProducer should set Accept and Content-Type headers
if given in endpoint configuration
Key: CAMEL-11025
URL: https://issues.apache.org/jira/browse/CAMEL-11025
Project: Camel
Issue Type: Improvement
Affects Versions: 2.19.0
Reporter: Zoran Regvart
Assignee: Zoran Regvart
Priority: Minor
The RestProducer ignores endpoint properties {{consumes}} that corresponds to
HTTP {{Accept}} header and {{produces}} that corresponds to HTTP
{{Content-Type}} header.
These should be set according to the endpoint properties making sure that any
header values on the incoming message being processed are not overwritten.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)