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

camel-rest - Should filter out query parameters that are for the producer endpoint

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.20.7, 3.21.1, 3.22.0, 4.0.1, 4.1.0
    • rest
    • None
    • Unknown

    Description

      The following route

      // Write your routes here, for example:
      from("timer:java?repeatCount=1").routeId("java")
      .to("rest:get:/?producerComponentName=http&copyHeaders=false&bridgeEndpoint=true&host=https://dummy.restapiexample.com/api/v1/employees")
      .log("done");

      Will include copyHeaders and bridgeEndpoint in the actual HTTP request.

      We need camel-rest to detect that its using http component and filter out endpoint options that are for the http endpoint, so there are no left over that gets into query string.

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: