不确定您调查了哪些资源,但是我们在官方参考手册的首页上有此样本:
@Bean@InboundChannelAdapter(value = "fooChannel", poller = @Poller(fixedDelay="5000"))public MessageSource<?> storedProc(DataSource dataSource) { return new JdbcPollingChannelAdapter(dataSource, "SELECt * FROM foo where status = 0");}本章称为
Finding Class Names for Java and DSL Configuration。因此,应作为从XML配置迁移的良好指南。



