[ https://issues.apache.org/jira/browse/CAMEL-12594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16533597#comment-16533597 ]
Leonid Remennik edited comment on CAMEL-12594 at 7/5/18 12:32 PM: ------------------------------------------------------------------ [~dmvolod] - please find repro JUnit modification here - [https://github.com/apache/camel/pull/2409] The code fix was already provided. Repro was blind coded in github editor - so I hope it compiles at all ;) was (Author: leonidre): [~dmvolod] - please find repro JUnit modification here - [https://github.com/apache/camel/pull/2409] The code fix was already provided > 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 > Priority: Major > Labels: rest > Fix For: 2.22.1, 2.23.0 > > > 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)