Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @EnableBinding(Processor.class)
- @EnableAutoConfiguration
- public static class UppercaseTransformer {
- @StreamListener
- @Output(Processor.OUTPUT)
- public Flux<String> receive(@Input(Processor.INPUT) Flux<String> input) {
- return input.map(message -> message.toUpperCase());
- }
- }
Add Comment
Please, Sign In to add comment