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

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

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

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

diff --git a/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/seda/HazelcastSedaComponent.java b/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/seda/HazelcastSedaComponent.java
index c8a8824..3c720f8 100644
--- a/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/seda/HazelcastSedaComponent.java
+++ b/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/seda/HazelcastSedaComponent.java
@@ -37,9 +37,9 @@ public class HazelcastSedaComponent extends HazelcastDefaultComponent {
     @Override
     protected HazelcastDefaultEndpoint doCreateEndpoint(String uri, String remaining, Map<String, Object> parameters, HazelcastInstance hzInstance) throws Exception {
         final HazelcastSedaConfiguration config = new HazelcastSedaConfiguration();
-        setProperties(config, parameters);
         config.setQueueName(remaining);
         HazelcastSedaEndpoint answer = new HazelcastSedaEndpoint(hzInstance, uri, this, config);
+        setProperties(answer, parameters);
         return answer;
     }