spring-integration parallel split-route-aggregate flow fails due to one-way MessageHandler
问题 I want to process a list of items in parallel by splitting them, routing each item to their appropriate gateway and aggregating the results. However, my application does not start, I get the following error: BeanCreationException: The 'currentComponent' ... is a one-way 'MessageHandler' and it isn't appropriate to configure 'outputChannel'. This is the end of the integration flow. This is a sample flow definition which illustrates the behaviour: @Bean public IntegrationFlow