java – 对通道spring-integration的预定任务响应
如何从任务传递响应:在spring-intgeration中安排到某个频道?
<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
如果有任何方法,请提供
谢谢