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:16 UTC

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

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 660b90295bdec9f635e35e26c05585765a949d92
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Sun Dec 8 19:46:49 2019 +0100

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

diff --git a/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/queue/HazelcastQueueComponent.java b/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/queue/HazelcastQueueComponent.java
index 1a7ac15..5f110eb 100644
--- a/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/queue/HazelcastQueueComponent.java
+++ b/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/queue/HazelcastQueueComponent.java
@@ -37,8 +37,8 @@ public class HazelcastQueueComponent extends HazelcastDefaultComponent {
     @Override
     protected HazelcastDefaultEndpoint doCreateEndpoint(String uri, String remaining, Map<String, Object> parameters, HazelcastInstance hzInstance) throws Exception {
         final HazelcastQueueConfiguration config = new HazelcastQueueConfiguration();
-        setProperties(config, parameters);
         HazelcastQueueEndpoint answer = new HazelcastQueueEndpoint(hzInstance, uri, this, remaining, config);
+        setProperties(answer, parameters);
         return answer;
     }