List of usage examples for org.springframework.integration.endpoint EventDrivenConsumer setAutoStartup
public void setAutoStartup(boolean autoStartup)
From source file:com.nayidisha.slowglow.config.SpringMessagingConfig.java
/** * Default endpoint// w ww . j ava 2s . c o m * * @return */ @Bean(destroyMethod = "stop") public EventDrivenConsumer eventDrivenConsumer() { EventDrivenConsumer consumer = new EventDrivenConsumer(webSocketInputChannel(), loggingHandler()); consumer.setAutoStartup(true); return consumer; }