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

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


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

commit 6238f64221069416f8e3d9fd843ca171b2c54e42
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 63e5fbadda8..a06eb96c32b 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);