diff --git a/index.html b/index.html index 115b84444..b690052f2 100644 --- a/index.html +++ b/index.html @@ -69,7 +69,7 @@ public class StreamdemoApplication { @Bean @InboundChannelAdapter(value = Source.OUTPUT) - public MessageSource timerMessageSource() { + private MessageSource timerMessageSource() { return () -> new GenericMessage<>(new SimpleDateFormat().format(new Date())); }