Claus Ibsen created CAMEL-19814:
-----------------------------------
Summary: camel-rest - Should filter out query parameters that are
for the producer endpoint
Key: CAMEL-19814
URL: https://issues.apache.org/jira/browse/CAMEL-19814
Project: Camel
Issue Type: Bug
Components: rest
Reporter: Claus Ibsen
Assignee: Claus Ibsen
Fix For: 4.0.1, 4.1.0
The following route
// Write your routes here, for example:
from("timer:java?repeatCount=1").routeId("java")
.to("rest:get:/?producerComponentName=http©Headers=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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)