This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
commit 0062e6517b83e8e35889a414bf2e64dce3e09333 Author: Raffaele Marcello <marcelloraffa...@gmail.com> AuthorDate: Sat Mar 13 11:30:07 2021 +0100 CAMEL-15963 Create a Google Cloud Functions component --- .../src/main/docs/google-functions-component.adoc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/camel-google/camel-google-functions/src/main/docs/google-functions-component.adoc b/components/camel-google/camel-google-functions/src/main/docs/google-functions-component.adoc index cad2ef2..7e230c6 100644 --- a/components/camel-google/camel-google-functions/src/main/docs/google-functions-component.adoc +++ b/components/camel-google/camel-google-functions/src/main/docs/google-functions-component.adoc @@ -205,6 +205,9 @@ This operation will get the `CloudFunction` object for the project `myProject`, -------------------------------------------------------------------------------- //call function from("direct:start") +.process(exchange -> { + exchange.getIn().setBody("just a message"); +}) .to("google-functions://myCamelFunction?serviceAccountKey=/home/user/Downloads/my-key.json&project=myProject&location=us-central1&operation=callFunction") .log("body:${body}") .to("mock:result");