camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [camel] branch camel-2.23.x updated: CAMEL-13388: Wrong removing parameters logic in ServiceComponent. Thanks to Artem Ivanov for the patch.
Date Fri, 05 Apr 2019 04:11:54 GMT
This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch camel-2.23.x
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/camel-2.23.x by this push:
     new 3f3ce98  CAMEL-13388: Wrong removing parameters logic in ServiceComponent. Thanks
to Artem Ivanov for the patch.
3f3ce98 is described below

commit 3f3ce985a2bd4be6d5009b99d2be956e48e998bd
Author: Claus Ibsen <claus.ibsen@gmail.com>
AuthorDate: Fri Apr 5 06:10:11 2019 +0200

    CAMEL-13388: Wrong removing parameters logic in ServiceComponent. Thanks to Artem Ivanov
for the patch.
---
 .../main/java/org/apache/camel/component/service/ServiceComponent.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-service/src/main/java/org/apache/camel/component/service/ServiceComponent.java
b/components/camel-service/src/main/java/org/apache/camel/component/service/ServiceComponent.java
index 26c3cb7..588895b 100644
--- a/components/camel-service/src/main/java/org/apache/camel/component/service/ServiceComponent.java
+++ b/components/camel-service/src/main/java/org/apache/camel/component/service/ServiceComponent.java
@@ -80,7 +80,7 @@ public class ServiceComponent extends DefaultComponent {
 
         // remove all the service related options so the underlying component
         // does not fail because of unknown parameters
-        parameters.keySet().removeAll(parameters.keySet());
+        parameters.keySet().removeAll(params.keySet());
 
         return new ServiceEndpoint(
             uri,


Mime
View raw message