List of usage examples for org.springframework.integration.router AbstractMappingMessageRouter setChannelMappings
@Override @ManagedAttribute public void setChannelMappings(Map<String, String> channelMappings)
From source file:org.springframework.integration.config.RouterFactoryBean.java
private void configureMappingRouter(AbstractMappingMessageRouter router) { if (this.channelMappings != null) { router.setChannelMappings(this.channelMappings); }//from w ww . j a v a2s . c o m if (this.resolutionRequired != null) { router.setResolutionRequired(this.resolutionRequired); } if (this.channelResolver != null) { logger.warn( "'channel-resolver' attribute has been deprecated in favor of using SpEL via 'expression' attribute"); router.setChannelResolver(this.channelResolver); } }