1 回答
青春有我
TA贡献1784条经验 获得超8个赞
为此,您需要使用收件人列表路由器EI 模式:https ://www.enterpriseintegrationpatterns.com/patterns/messaging/RecipientList.html
Spring Integration 对此有一个实现:https ://docs.spring.io/spring-integration/docs/current/reference/html/#router-implementations-recipientlistrouter
因此,您有一个单一的,并且您为要分发相同消息的每个通道input-channel
配置一个。recipient
Loan Broker 示例对此进行了一些配置:https ://github.com/spring-projects/spring-integration-samples/tree/master/applications/loan-broker
Java DSL 变体在此处描述:https ://docs.spring.io/spring-integration/docs/current/reference/html/#java-dsl-routers
添加回答
举报
0/150
提交
取消