我该如何将Spring Integration中任务:scheduled的响应传递到通道?
<task:scheduled-tasks>
<task:scheduled ref="loadFruits" method="loadFruits" cron="0/5 * * * * *"/>
</task:scheduled-tasks>
<bean id="loadFruits" class="com.data.taskschedulers.LoadFruits"/>
<int:channel id="outboundComplexChannel"/>
现在我是否可以以某种方式读取loadFruits方法的返回响应到出站通道outboundComplexChannel中?
请提供任何可行的方法。
谢谢。