You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2019/12/10 15:30:32 UTC

[camel] branch master updated: CAMEL-14284: Configuring endpoint should set properties on endpoint and not configuration object - Paho component

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new bcdea7b  CAMEL-14284: Configuring endpoint should set properties on endpoint and not configuration object - Paho component
bcdea7b is described below

commit bcdea7b0a84f1256919a13146bf6703b907dda3c
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Dec 10 16:30:07 2019 +0100

    CAMEL-14284: Configuring endpoint should set properties on endpoint and not configuration object - Paho component
---
 .../src/main/java/org/apache/camel/component/paho/PahoComponent.java     | 1 -
 1 file changed, 1 deletion(-)

diff --git a/components/camel-paho/src/main/java/org/apache/camel/component/paho/PahoComponent.java b/components/camel-paho/src/main/java/org/apache/camel/component/paho/PahoComponent.java
index 30f43ce..5f96beb 100644
--- a/components/camel-paho/src/main/java/org/apache/camel/component/paho/PahoComponent.java
+++ b/components/camel-paho/src/main/java/org/apache/camel/component/paho/PahoComponent.java
@@ -55,7 +55,6 @@ public class PahoComponent extends DefaultComponent {
         PahoEndpoint answer = new PahoEndpoint(uri, remaining, this, configuration);
         answer.setClient(client);
 
-        setProperties(configuration, parameters);
         setProperties(answer, parameters);
         return answer;
     }