Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-11025

RestProducer should set Accept and Content-Type headers if given in endpoint configuration

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.19.0
    • Fix Version/s: 2.19.0
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              zregvart Zoran Regvart
              Reporter:
              zregvart Zoran Regvart
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: