Leonid Remennik created CAMEL-12594:
---------------------------------------
Summary: Rest Producer - Query Parameters : Wrong query parameter
name is used when header substitution is performed
Key: CAMEL-12594
URL: https://issues.apache.org/jira/browse/CAMEL-12594
Project: Camel
Issue Type: Bug
Components: camel-core
Affects Versions: 2.22.0
Reporter: Leonid Remennik
CAMEL-11050
[https://github.com/apache/camel/commit/35638b280be7ca43031ea4c5d937590f30495e70]
Introduced a bug in this line
[https://github.com/apache/camel/blob/6938a4ea6b68e295fae48f52e8e7cb2628f161a3/camel-core/src/main/java/org/apache/camel/component/rest/RestProducer.java#L409]
The fix is (probably) to replace the line with :
params.put(entry.getKey(), value);
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)