【问题标题】:How to stop asynchronous flow in mule如何停止骡子中的异步流
【发布时间】:2017-05-02 10:13:10
【问题描述】:

我试图通过在 groovy 脚本中使用 muleContext.registry.lookupFlowConstruct('').stop() 命令来停止 mule 中的异步流,但即使在它仍然触发流之后。我想突然停止它。

【问题讨论】:

  • 请分享您的完整 Mule 配置文件以检测问题并检查您所做的工作

标签: multithreading groovy mule esb anypoint-studio


【解决方案1】:

你可以试试

eventContext.setStopFurtherProcessing(true)

<expression-component>
    app.registry.yourflowName.stop();
  </expression-component>

如果您希望阻止消息进入您的流程,您也可以使用过滤器。

【讨论】:

    猜你喜欢
    • 2015-09-09
    • 2020-02-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-03-03
    • 2021-12-23
    • 2019-06-15
    相关资源
    最近更新 更多