removed auto-startup=FALSE from sample source

This commit is contained in:
Mark Fisher
2015-08-03 18:30:12 -04:00
parent d4c0666487
commit 95a34f6ab0

View File

@@ -42,7 +42,7 @@ public class TimeSource {
private TimeSourceOptionsMetadata options;
@Bean
@InboundChannelAdapter(value = Source.OUTPUT, autoStartup = "false", poller = @Poller(fixedDelay = "${fixedDelay}", maxMessagesPerPoll = "1"))
@InboundChannelAdapter(value = Source.OUTPUT, poller = @Poller(fixedDelay = "${fixedDelay}", maxMessagesPerPoll = "1"))
public MessageSource<String> timerMessageSource() {
return () -> new GenericMessage<>(new SimpleDateFormat(this.options.getFormat()).format(new Date()));
}