【发布时间】:2014-05-31 19:53:44
【问题描述】:
我正在尝试将来自 Quickfix(读取修复消息)的读取消息配置到 Spring 集成中。我知道我可以使用入站通道适配器从外部源(例如 Quickfix)读取数据。您能否提供一个如何编写事件驱动的入站通道适配器的示例? 我的以下配置不起作用
<bean id="QuickFixClient" class="com.limebrokerage.quickfix.QuickFixClient" >
<constructor-arg index="0" value= "/home/sbansal/workspace/bo/target/config/sterling.qfix" />
</bean>
<int:inbound-channel-adapter ref="QuickFixClient" method="fromApp" channel="FixChannel">
</int:inbound-channel-adapter>
【问题讨论】:
-
你有什么问题?您是否已将
<poller>配置为定期轮询该方法?path真的适用于该应用程序吗?如果直接调用,您的QuickFixClient是否有效?请提供有关此事的更多信息。