fixed commented code

This commit is contained in:
Oleg Zhurakousky
2019-02-28 17:11:36 +01:00
parent 723a5af7f3
commit 045ae562b5

View File

@@ -443,7 +443,7 @@ public abstract class AbstractMessageChannelBinder<C extends ConsumerProperties,
MessageSource<?> messageSource = resources.getSource();
if (messageSource instanceof BeanFactoryAware) {
// ((BeanFactoryAware)messageSource).setBeanFactory(getApplicationContext().getBeanFactory());
((BeanFactoryAware)messageSource).setBeanFactory(getApplicationContext().getBeanFactory());
}
bindingTarget.setSource(messageSource);
if (resources.getErrorInfrastructure() != null) {