在Spring Integration中使用Transformer轮询HTTP服务(出站网关)和进程

这是我想要实现的目标。 每15分钟轮询一次HTTP API并处理从中检索的数据。 我们计划使用Spring Integration。 我是新手。 所以几乎没有理解,我已经创建了一个出站网关并添加了相同的轮询,但得到以下错误。

此外,有人可以告诉我如何使用变压器处理来自出站网关的数据?

Error creating bean with name 'org.springframework.integration.config.ConsumerEndpointFactoryBean#0': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: A poller should not be specified for endpoint 'org.springframework.integration.config.ConsumerEndpointFactoryBean#0', since 'in' is a SubscribableChannel (not pollable). 

我的int-config.xml文件是

                                                       

有人能告诉我为什么会收到此错误? 先谢谢你们!

第一个更新 :对于轮询,添加入站通道适配器工作

      

第二个更新 :为了转换对bean的响应,添加了此代码

   

最后,我能够轮询HTTP服务,获取数据并进行处理! 感谢@JensKrogsboell的所有帮助!