Mule ESB - 清除批处理的内存 [英] Mule ESB - Clear Memory of a batch process

查看:52
本文介绍了Mule ESB - 清除批处理的内存的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的场景是我的 Mule 流中有 4 个批次.其中一个批次说批次 1 加载了 10,000 条记录,但后来我决定强制停止该批次.现在我决定在同一个 XML 中运行第 2 批.批次 2 运行,但先前加载的批次 1 记录也会运行.这是一个错误还是有一个配置可以防止这种情况发生.

My Scenario is I have 4 batches in a my Mule flow. One of the batch say batch 1 loads records of say 10,000 but then i decided to force stop the batch. Now i decided to run batch No. 2 in the same XML. The batch 2 runs but the batch 1 records which were earlier loaded also gets run. Is this a bug or is there are a configuration to prevent this.

推荐答案

您是否在 Studio 上运行批处理?

Are you running the batch on Studio?

如果是,请转到 Studio 上的运行配置.查找您的项目配置并向下滚动到清除应用程序数据",将其设置为始终".

If yes, go to the Run Configurations on studio. Look for the configuration of your project and scroll down to 'Clear Application Data', set this to 'Always'.

这篇关于Mule ESB - 清除批处理的内存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆