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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.19.0
    • 2.19.0
    • camel-core
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: