Cleanup of Azure sample

This commit is contained in:
Oleg Zhurakousky
2021-11-18 14:59:40 +01:00
parent 6031cc83f3
commit aea3b548da
5 changed files with 48 additions and 32 deletions

View File

@@ -37,8 +37,8 @@ public class Config {
}
@Bean
public Function<Message<String>, String> echo() {
return message -> message.getPayload();
public Function<String, String> echo() {
return payload -> payload;
}
@Bean