fixed commented code
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user