You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by zh...@apache.org on 2023/03/20 12:18:53 UTC
[camel] branch camel-3.18.x updated: CAMEL-19169: camel-olingo2 - Fix missing olingo2 endpoint property names (#9574)
This is an automated email from the ASF dual-hosted git repository.
zhfeng pushed a commit to branch camel-3.18.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-3.18.x by this push:
new c5a52a29494 CAMEL-19169: camel-olingo2 - Fix missing olingo2 endpoint property names (#9574)
c5a52a29494 is described below
commit c5a52a29494aa9c57ee957132958389dcbeac10f
Author: Zheng Feng <zh...@gmail.com>
AuthorDate: Mon Mar 20 13:42:27 2023 +0800
CAMEL-19169: camel-olingo2 - Fix missing olingo2 endpoint property names (#9574)
---
.../main/java/org/apache/camel/component/olingo2/Olingo2Endpoint.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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 628b7d17a1d..b79ab782e1e 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
@@ -167,7 +167,8 @@ public class Olingo2Endpoint extends AbstractApiEndpoint<Olingo2ApiName, Olingo2
@Override
protected void afterConfigureProperties() {
- olingo2endpointPropertyNames = new HashSet<>(getEndpointPropertyNames());
+ olingo2endpointPropertyNames
+ = new HashSet<>(getPropertiesHelper().getValidEndpointProperties(getCamelContext(), configuration));
olingo2endpointPropertyNames.add(EDM_PROPERTY);
olingo2endpointPropertyNames.add(ENDPOINT_HTTP_HEADERS_PROPERTY);
olingo2endpointPropertyNames.add(SERVICE_URI_PROPERTY);