Spring Integration Chain Flow - Handling Void Gateway Calls

瘦欲@ 提交于 2019-12-06 04:15:20

OK. Look, the <chain> expects that all components within produce reply to move to the next component in the chain. The reply of the previous component is an input for the next in the chain. So, that is really expected that since your gateway doesn't returns anything there is nothing to send to the next component in the chain.

If you really don't expect from the the gateway an answer and it is just like "send and forget", consider to switch to the publish-subscribe-channel to send the same message to the void gateway and to the next component in the main flow. Right, we will have to break your current chain, but otherwise the current approach won't work for you any way.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!