From 42336c852cb08e8db61e30cc1aab1756d471a77a Mon Sep 17 00:00:00 2001 From: Oleg Zhurakousky Date: Mon, 25 Sep 2023 10:24:39 +0200 Subject: [PATCH] GH-1071 Add getter for Message in FunctionContext --- .../cloud/function/observability/FunctionContext.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spring-cloud-function-context/src/main/java/org/springframework/cloud/function/observability/FunctionContext.java b/spring-cloud-function-context/src/main/java/org/springframework/cloud/function/observability/FunctionContext.java index e5bdd89be..644ac371f 100644 --- a/spring-cloud-function-context/src/main/java/org/springframework/cloud/function/observability/FunctionContext.java +++ b/spring-cloud-function-context/src/main/java/org/springframework/cloud/function/observability/FunctionContext.java @@ -43,4 +43,7 @@ public SimpleFunctionRegistry.FunctionInvocationWrapper getTargetFunction() { return targetFunction; } + public Message getMessage() { + return message; + } }