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

[camel] branch camel-3.0.x updated (3cb5528 -> c4c94ea)

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

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


    from 3cb5528  CAMEL-14263: Fixed compile issue with ganglia and rebuild
     new faf4676  CAMEL-14263: camel-hazelcast should use source code generated configurer to avoid reflection configuration - Hazelcast-queue
     new 31a1791  CAMEL-14263: camel-hazelcast should use source code generated configurer to avoid reflection configuration - Hazelcast-seda
     new 5a98868  CAMEL-14263: camel-hazelcast should use source code generated configurer to avoid reflection configuration - Hazelcast-topic
     new aaca6c3  Camel-Hazelcast: Fixed Hazelcast-seda configuration test
     new c4c94ea  Camel-Hazelcast: Fixed Hazelcast-seda config test

The 5 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 +-
 3 files changed, 3 insertions(+), 3 deletions(-)


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

commit aaca6c3c3c7b84e8e1f4e910a9b5b1fc5b8b86e1
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] 01/05: 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 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;
     }
 


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

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

commit 5a988688d919720d0647442647830c047519fd38
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] 05/05: Camel-Hazelcast: Fixed Hazelcast-seda config test

Posted by ac...@apache.org.
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 c4c94ea505a80920d0138731e98965b5a906b64e
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Dec 9 08:39:29 2019 +0100

    Camel-Hazelcast: Fixed Hazelcast-seda config 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 5d49376..659c7b4 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(IllegalArgumentException.class, e.getCause());
+            assertIsInstanceOf(PropertyBindingException.class, e.getCause());
         }
     }