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/08 19:01:18 UTC

[camel] 03/04: CAMEL-14263: camel-hazelcast should use source code generated configurer to avoid reflection configuration - Hazelcast-topic

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

commit 863d659483b296dd3d2e033f1ea26b0c99738599
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Sun Dec 8 19:50:15 2019 +0100

    CAMEL-14263: camel-hazelcast should use source code generated configurer to avoid reflection configuration - Hazelcast-topic
---
 .../apache/camel/component/hazelcast/topic/HazelcastTopicComponent.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/topic/HazelcastTopicComponent.java b/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/topic/HazelcastTopicComponent.java
index 2051b8a..405c353 100644
--- a/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/topic/HazelcastTopicComponent.java
+++ b/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/topic/HazelcastTopicComponent.java
@@ -37,8 +37,8 @@ public class HazelcastTopicComponent extends HazelcastDefaultComponent {
     @Override
     protected HazelcastDefaultEndpoint doCreateEndpoint(String uri, String remaining, Map<String, Object> parameters, HazelcastInstance hzInstance) throws Exception {
         final HazelcastTopicConfiguration config = new HazelcastTopicConfiguration();
-        setProperties(config, parameters);
         HazelcastTopicEndpoint answer = new HazelcastTopicEndpoint(hzInstance, uri, this, remaining, config);
+        setProperties(answer, parameters);
         return answer;
     }