【发布时间】:2016-05-30 18:32:42
【问题描述】:
我需要以两种不同的方式异步处理请求的相同信息。我在我的项目中使用弹簧集成。
我可以让两个服务激活器从以下相同的输入通道读取吗?我将通过适配器从队列中获取数据并转发到通道。
<int:channel id="dataChannel" />
<service-activator input-channel="dataChannel" ref="serviceA" method="method1">
<service-activator input-channel="dataChannel" ref="serviceB" method="method2">
<bean id="serviceA" class="a.b.test.ServiceA">
<bean id="serviceB" class="a.b.test.ServiceB">
【问题讨论】:
标签: java spring spring-integration