Cleanup files when using NServiceBus FileShareDataBus

↘锁芯ラ 提交于 2020-01-04 02:54:10

问题


I am using the FileShareDataBus in NServiceBus 3. Is there any support for cleaning up databus files?

If not, what would be the best practice to achieve this (like how do you ensure that the file is not part of a message that is in the error queue)?


回答1:


Given that it's impossible to know how long a message stay in the error queue I usually purge after a resonably long time (Max(SLA) + x days)



来源:https://stackoverflow.com/questions/12642468/cleanup-files-when-using-nservicebus-filesharedatabus

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