我试图通过在groovy脚本中使用muleContext.registry.lookupFlowConstruct('')。stop()命令来停止m子中的异步流,但是即使它仍然触发了流之后,我还是要突然停止它。
你可以试试
eventContext.setStopFurtherProcessing(true)
或者
<expression-component>
app.registry.yourflowName.stop();
</expression-component>
如果您希望停止消息进入流程,也可以使用过滤器。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句