首先,您需要考虑使用Scatter-Gather: https://docs.spring.io/spring-integration/docs/5.0.8.RELEASE/reference/html/messaging-routing-chapter.html#scatter-gather 。另一点是 group-timeout 无论如何都不会帮助你:无法保证团队将及时过期。您需要使用表达式建议以任何方式将错误路由到聚合器。然后在发布功能中,您可以从最终列表中过滤错误: https://docs.spring.io/spring-integration/docs/5.0.8.RELEASE/reference/html/messaging-endpoints-chapter.html#message-handler-advice-chain
group-timeout