【发布时间】:2017-01-27 09:43:29
【问题描述】:
我正在使用 Spring Integration、Java DSL(1.1.3 版)
我的org.springframework.integration.dsl.IntegrationFlow 定义如下
return IntegrationFlows.from(messageProducerSpec)
.handle(handler)
.handle(aggregator)
.handle(endpoint)
.get();
}
messageProducerSpec 是org.springframework.integration.dsl.amqp.AmqpBaseInboundChannelAdapterSpec 的实例
我希望我的集成流程使用来自两个单独的 messageProducerSpecs 的消息(两个单独的 SimpleMessageListenerContainers,每个使用不同的 ConnectionFactory)。如何从多个 messageProducerSpec 构造 integrationFlow?我没有看到能够使用来自多个来源的消息的集成组件。
【问题讨论】:
标签: java spring spring-integration