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

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

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());
         }
     }