use of org.springframework.cloud.stream.binding.MessageChannelStreamListenerResultAdapter in project spring-cloud-stream by spring-cloud.
the class StreamEmitterAnnotationBeanPostProcessor method afterSingletonsInstantiated.
@Override
public void afterSingletonsInstantiated() {
this.parameterAdapters = this.applicationContext.getBeansOfType(StreamListenerParameterAdapter.class).values();
this.resultAdapters = new ArrayList<>(this.applicationContext.getBeansOfType(StreamListenerResultAdapter.class).values());
this.resultAdapters.add(new MessageChannelStreamListenerResultAdapter());
}
Aggregations