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 05:42:42 UTC

[camel] branch main 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 main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new cea4c9f779e CAMEL-19169: camel-olingo2 - Fix missing olingo2 endpoint property names (#9574)
cea4c9f779e is described below

commit cea4c9f779edfadcd9d27717bbf0853382d3ca7d
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 b8c22f20d67..7ce3e2ddbce 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
@@ -166,7 +166,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);