Fixed destination resolve conflict in StreamListenerAnnotationBeanPostProcessor

This commit is contained in:
Oleg Zhurakousky
2019-04-25 13:46:32 +02:00
parent fad097210b
commit 680bd98f4b

View File

@@ -318,7 +318,7 @@ public class StreamListenerAnnotationBeanPostProcessor implements BeanPostProces
Collection<StreamListenerResultAdapter> streamListenerResultAdapters = this.applicationContext
.getBeansOfType(StreamListenerResultAdapter.class).values();
this.binderAwareChannelResolver = this.applicationContext
.getBean(DestinationResolver.class);
.getBean("binderAwareChannelResolver", DestinationResolver.class);
this.messageHandlerMethodFactory = this.applicationContext
.getBean(MessageHandlerMethodFactory.class);
this.springIntegrationProperties = this.applicationContext