GH-786 Fix regression with RoutingFunction over AWS APIGateway

Resolves #786
This commit is contained in:
Oleg Zhurakousky
2022-01-03 14:42:31 +01:00
parent e6be676295
commit 4f3cef17be
4 changed files with 36 additions and 20 deletions

View File

@@ -137,7 +137,7 @@ public class RoutingFunction implements Function<Object, Object> {
else {
throw new IllegalStateException("Failed to establish route, since neither were provided: "
+ "'spring.cloud.function.definition' as Message header or as application property or "
+ "'spring.cloud.function.routing-expression' as application property.");
+ "'spring.cloud.function.routing-expression' as application property. Incoming message: " + input);
}
}
}