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/09 08:09:10 UTC

[camel] 01/05: 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 camel-3.0.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit faf4676348415fcf55ae93d34ce0353e4585e5e4
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;
     }