You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by dm...@apache.org on 2019/01/17 14:08:57 UTC
[camel] 01/05: CAMEL-13063: Olingo2Endpoint swallowing consumer.
options
This is an automated email from the ASF dual-hosted git repository.
dmvolod pushed a commit to branch camel-2.23.x
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 30388a75dc1ac931de4c8941cf3ba082c668f89c
Author: Dmitry Volodin <dm...@gmail.com>
AuthorDate: Wed Jan 16 13:34:08 2019 +0300
CAMEL-13063: Olingo2Endpoint swallowing consumer. options
---
.../java/org/apache/camel/component/olingo2/Olingo2Endpoint.java | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/components/camel-olingo2/camel-olingo2-component/src/main/java/org/apache/camel/component/olingo2/Olingo2Endpoint.java b/components/camel-olingo2/camel-olingo2-component/src/main/java/org/apache/camel/component/olingo2/Olingo2Endpoint.java
index 3324393..31709b4 100644
--- a/components/camel-olingo2/camel-olingo2-component/src/main/java/org/apache/camel/component/olingo2/Olingo2Endpoint.java
+++ b/components/camel-olingo2/camel-olingo2-component/src/main/java/org/apache/camel/component/olingo2/Olingo2Endpoint.java
@@ -195,6 +195,14 @@ public class Olingo2Endpoint extends AbstractApiEndpoint<Olingo2ApiName, Olingo2
final Map.Entry<String, Object> entry = it.next();
final String paramName = entry.getKey();
+
+ /**
+ * Avoid swallowing consumer scheduler properties, which
+ * get processed in configureProperties()
+ */
+ if (paramName.startsWith("consumer.")) {
+ continue;
+ }
if (!endpointPropertyNames.contains(paramName)) {