GH-766 Simplify type description display purposes

This commit is contained in:
Oleg Zhurakousky
2021-11-30 21:47:18 +01:00
parent 2b79742c50
commit 3671fefc5c
2 changed files with 17 additions and 6 deletions

View File

@@ -40,8 +40,8 @@ public class SampleApplication {
}
@Bean
public Function<Message<String>, String> uppercaseMessage() {
return value -> value.getPayload().toUpperCase();
public Function<Message<String>, Integer> uppercaseMessage() {
return value -> value.getPayload().toUpperCase().length();
}
@Bean