fixed commented code

This commit is contained in:
Oleg Zhurakousky
2019-02-28 17:10:37 +01:00
parent 0be2b82f4f
commit 6e6483b00c

View File

@@ -464,7 +464,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) {