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

Added "inputHeader" parameter to use a header value as input to the component instead of the body

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.15.0
    • camel-mybatis
    • None
    • Unknown

    Description

      added "inputHeader" parameter to use a header value as input to the component instead of the body

      This way parameters don't need to be set as body before a query. In combination with "outputHeader" you can completely retain the body and don't even take it as a parameter.

      Ultimately this reduces the boilderplate of "setBody"/"setHeader" statements even more.

      Here is the PR for it.

      Attachments

        Issue Links

          Activity

            People

              njiang Willem Jiang
              njiang Willem Jiang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: