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

camel headers are not preserverd in camel-ahc component

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.12.3, 2.13.0
    • Fix Version/s: 2.12.4, 2.13.1, 2.14.0
    • Component/s: camel-ahc
    • Labels:
      None
    • Patch Info:
      Patch Available
    • Estimated Complexity:
      Unknown

      Description

      The documentation of the camel-ahc component states:
      ... All headers from the IN message will be copied to the OUT message, so headers are preserved during routing. Additionally Camel will add the HTTP response headers as well to the OUT message headers.

      However this is not true. Camel headers are not copied from the in to the out message.

      I have looked up other components doing http requests (http4 and cxf) and these components do copy the headers from the in to the out message.

        Attachments

          Activity

            People

            • Assignee:
              njiang Willem Jiang
              Reporter:
              siano Stephan Siano
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: