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 2020/12/01 13:08:40 UTC
[camel] 01/02: Camel-Ignite-Set: Fixed tests
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 75ce9e285963c7ed990fe6d779780784fd73c9ba
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Dec 1 13:46:48 2020 +0100
Camel-Ignite-Set: Fixed tests
---
.../org/apache/camel/component/ignite/set/IgniteSetEndpoint.java | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/components/camel-ignite/src/main/java/org/apache/camel/component/ignite/set/IgniteSetEndpoint.java b/components/camel-ignite/src/main/java/org/apache/camel/component/ignite/set/IgniteSetEndpoint.java
index 1f3967f..3855158 100644
--- a/components/camel-ignite/src/main/java/org/apache/camel/component/ignite/set/IgniteSetEndpoint.java
+++ b/components/camel-ignite/src/main/java/org/apache/camel/component/ignite/set/IgniteSetEndpoint.java
@@ -28,7 +28,6 @@ import org.apache.camel.spi.UriEndpoint;
import org.apache.camel.spi.UriParam;
import org.apache.camel.spi.UriPath;
import org.apache.camel.support.PropertyBindingSupport;
-import org.apache.camel.util.ObjectHelper;
import org.apache.camel.util.PropertiesHelper;
import org.apache.ignite.configuration.CollectionConfiguration;
@@ -56,12 +55,10 @@ public class IgniteSetEndpoint extends AbstractIgniteEndpoint {
super(endpointUri, igniteComponent);
name = remaining;
- ObjectHelper.notNull(name, "Set name");
-
// Set the configuration values.
if (!parameters.containsKey("configuration")) {
Map<String, Object> configProps = PropertiesHelper.extractProperties(parameters, "config.");
- PropertyBindingSupport.bindProperties(this.getCamelContext(), configProps, parameters);
+ PropertyBindingSupport.bindProperties(this.getCamelContext(), parameters, configProps);
}
}