List of usage examples for org.springframework.integration.router AbstractMessageRouter setDefaultOutputChannel
public void setDefaultOutputChannel(MessageChannel defaultOutputChannel)
From source file:org.springframework.integration.config.RouterFactoryBean.java
private AbstractMessageRouter configureRouter(AbstractMessageRouter router) { if (this.defaultOutputChannel != null) { router.setDefaultOutputChannel(this.defaultOutputChannel); }//from w w w .j a v a 2 s.c om if (this.timeout != null) { router.setTimeout(timeout.longValue()); } if (this.applySequence != null) { router.setApplySequence(this.applySequence); } if (this.ignoreSendFailures != null) { router.setIgnoreSendFailures(this.ignoreSendFailures); } if (router instanceof AbstractMappingMessageRouter) { this.configureMappingRouter((AbstractMappingMessageRouter) router); } return router; }