持久且可重复的命令

发布于 2024-08-11 13:36:16 字数 495 浏览 2 评论 0原文

想象一下,我们想要在系统中完成一些事情,但有时在执行过程中会引发异常。我们希望向最终用户提供这些错误的报告,以便他们有机会修复问题的根源,然后然后重新调用导致错误的事物

这显然意味着我们需要以一种允许存储、报告并最终重新执行或丢弃的方式捕获“事物”。

有人对实现这个有什么建议吗?

谢谢!

- 编辑-

我阅读了http://msdn。 microsoft.com/en-us/magazine/cc163920.aspx

现在我认为消息传递可能是可行的方法。我想知道大众交通或类似的交通是否有益或矫枉过正。我想深入研究 EDA 一段时间了,我认为这可能是一个方向。

Imagine that we have stuff we want done in the system and sometimes exceptions are raised while doing it. We want to give the end users a report of those errors so they have an opportunity to fix the root of the problem and then re-invoke the thing that caused the error.

This obviously means we need to capture the "thing" in a way that allows it to be stored, reported on, and ultimately re-executed or discarded.

Does anyone have any suggestions for implementing this?

Thanks!

- Edit -

I read http://msdn.microsoft.com/en-us/magazine/cc163920.aspx

Now I'm thinking messaging might be the way to go. I'm wondering if maybe MassTransit or the like would be beneficial or overkill. I've been wanting to delve into EDA for a while and am thinking this might be an in.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文