You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2019/08/15 05:43:42 UTC

[camel] 04/06: CAMEL-13852: document actions

This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 8a6ec5505223ce05daec4e7540409f29d74e852c
Author: Marc Giger <gi...@gmx.ch>
AuthorDate: Wed Aug 14 18:48:16 2019 +0200

    CAMEL-13852: document actions
---
 .../src/main/docs/olingo4-component.adoc                 | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/components/camel-olingo4/camel-olingo4-component/src/main/docs/olingo4-component.adoc b/components/camel-olingo4/camel-olingo4-component/src/main/docs/olingo4-component.adoc
index 5951da4..8aca8ab 100644
--- a/components/camel-olingo4/camel-olingo4-component/src/main/docs/olingo4-component.adoc
+++ b/components/camel-olingo4/camel-olingo4-component/src/main/docs/olingo4-component.adoc
@@ -191,6 +191,9 @@ org.apache.olingo.commons.api.http.HttpStatusCode for other OData resources
 |read |queryParams, resourcePath, endpointHttpHeaders |GET |Depends on OData resource being queried as described next
 
 |update |data, resourcePath, endpointHttpHeaders |PUT |org.apache.olingo.commons.api.http.HttpStatusCode
+
+|action |data, resourcePath, endpointHttpHeaders |POST |org.apache.olingo.client.api.domain.ClientEntity for action's
+that have a "ReturnType" defined org.apache.olingo.commons.api.http.HttpStatusCode otherwise
 |=======================================================================
 
 == Endpoint HTTP Headers
@@ -295,3 +298,16 @@ The following route creates People entity using the
 from("direct:...")
     .to("olingo4://create/People");
 ------------------------------------------------------------
+
+
+
+The following route calls an odata action using the *ClientEntity* in the body message. The body message may be null for
+actions that don't expect an input.
+
+
+
+[source,java]
+------------------------------------------------------------
+from("direct:...")
+    .to("olingo4://action/People");
+------------------------------------------------------------