From 4064cfafaadbee8aa954fe99c03b7b965f31252b Mon Sep 17 00:00:00 2001 From: Varun Date: Tue, 2 Mar 2021 17:22:25 +0530 Subject: [PATCH] Corrected grammatical mistake in the Note section of Message Headers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is the current statement >SpEL evaluation context’s root object is the actual input argument, so in he case of Message you can construct expression that has access to both payload and headers (e.g., spring.cloud.function.routing-expression=headers.function_name). This is the corrected one >SpEL evaluation context’s root object is the actual input argument, so in the case of Message you can construct expression that has access to both payload and headers (e.g., spring.cloud.function.routing-expression=headers.function_name). ```diff -so in he case... +so in the case... ``` --- docs/src/main/asciidoc/spring-cloud-function.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/main/asciidoc/spring-cloud-function.adoc b/docs/src/main/asciidoc/spring-cloud-function.adoc index 62a91ec1c..6d488b6a3 100644 --- a/docs/src/main/asciidoc/spring-cloud-function.adoc +++ b/docs/src/main/asciidoc/spring-cloud-function.adoc @@ -195,7 +195,7 @@ you to use Spring Expression Language (SpEL) and provide SpEL expression that sh into definition of a function (as described above). NOTE: SpEL evaluation context's root object is the -actual input argument, so in he case of `Message` you can construct expression that has access +actual input argument, so in the case of `Message` you can construct expression that has access to both `payload` and `headers` (e.g., `spring.cloud.function.routing-expression=headers.function_name`). In specific execution environments/models the adapters are responsible to translate and communicate