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

[camel] branch master updated (33805aa -> d6ac2b3)

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

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


    from 33805aa  Regen
     new 660b902  CAMEL-14263: camel-hazelcast should use source code generated configurer to avoid reflection configuration - Hazelcast-queue
     new 973e705  CAMEL-14263: camel-hazelcast should use source code generated configurer to avoid reflection configuration - Hazelcast-seda
     new 863d659  CAMEL-14263: camel-hazelcast should use source code generated configurer to avoid reflection configuration - Hazelcast-topic
     new d6ac2b3  Camel-Hazelcast: Fixed Hazelcast-seda configuration test

The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../apache/camel/component/hazelcast/queue/HazelcastQueueComponent.java | 2 +-
 .../apache/camel/component/hazelcast/seda/HazelcastSedaComponent.java   | 2 +-
 .../apache/camel/component/hazelcast/topic/HazelcastTopicComponent.java | 2 +-
 .../camel/component/hazelcast/HazelcastSedaConfigurationTest.java       | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)


[camel] 04/04: Camel-Hazelcast: Fixed Hazelcast-seda configuration test

Posted by ac...@apache.org.
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 d6ac2b383d9168fdd4abacbcb0cbb04f5e153c0a
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Sun Dec 8 20:00:44 2019 +0100

    Camel-Hazelcast: Fixed Hazelcast-seda configuration test
---
 .../camel/component/hazelcast/HazelcastSedaConfigurationTest.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-hazelcast/src/test/java/org/apache/camel/component/hazelcast/HazelcastSedaConfigurationTest.java b/components/camel-hazelcast/src/test/java/org/apache/camel/component/hazelcast/HazelcastSedaConfigurationTest.java
index 659c7b4..5d49376 100644
--- a/components/camel-hazelcast/src/test/java/org/apache/camel/component/hazelcast/HazelcastSedaConfigurationTest.java
+++ b/components/camel-hazelcast/src/test/java/org/apache/camel/component/hazelcast/HazelcastSedaConfigurationTest.java
@@ -83,7 +83,7 @@ public class HazelcastSedaConfigurationTest extends CamelTestSupport {
             context.getEndpoint("hazelcast-seda:foo?onErrorDelay=-1");
             fail("Should have thrown exception");
         } catch (ResolveEndpointFailedException e) {
-            assertIsInstanceOf(PropertyBindingException.class, e.getCause());
+            assertIsInstanceOf(IllegalArgumentException.class, e.getCause());
         }
     }
 


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

Posted by ac...@apache.org.
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;
     }
 


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

Posted by ac...@apache.org.
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;
     }
 


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

Posted by ac...@apache.org.
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;
     }