【发布时间】:2013-12-03 19:33:17
【问题描述】:
如何使用 Spring Integration 轮询 HTTP Web 服务。
<int-http:outbound-gateway request-channel="in" reply-channel="out"
url="http://whatever.com" http-method="GET"
expected-response-type="java.lang.String"/>
http 出站网关不支持像 Twitter 那样的轮询器。
当然可以创建一个虚拟网关来发送空消息并使用任务调度程序进行配置。
【问题讨论】:
标签: java spring spring-integration