Merge pull request #504 from ghillert/INT-2514

This commit is contained in:
Gary Russell
2012-06-18 17:50:12 -04:00

View File

@@ -69,7 +69,7 @@ final class ChannelInitializer implements BeanFactoryAware, InitializingBean {
}
else {
AutoCreateCandidatesCollector channelCandidatesCollector =
(AutoCreateCandidatesCollector) beanFactory.getBean(AUTO_CREATE_CHANNEL_CANDIDATES_BEAN_NAME, AutoCreateCandidatesCollector.class);
beanFactory.getBean(AUTO_CREATE_CHANNEL_CANDIDATES_BEAN_NAME, AutoCreateCandidatesCollector.class);
Assert.notNull(channelCandidatesCollector, "Failed to locate '" +
ChannelInitializer.AUTO_CREATE_CHANNEL_CANDIDATES_BEAN_NAME);
// at this point channelNames are all resolved with placeholders and SpEL