如果处理时出现异常,什么可以阻止NServiceBus将消息移至错误队列? [英] What could prevent NServiceBus from moving messages to the error queue if there are exceptions when processing?

查看:115
本文介绍了如果处理时出现异常,什么可以阻止NServiceBus将消息移至错误队列?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用NServiceBus处理消息的应用程序,在调试时我发现可能会引发异常,并且消息丢失.我已经检查了主队列和错误队列,并且该消息仅尝试了一次.

I have an application using NServiceBus to process messages, and while debugging I'm finding that exceptions may be thrown, and the message is lost. I've checked both the main and error queues, and the message was only attempted once.

是否存在任何可能导致这种情况发生的常见陷阱?

Are there any common pitfalls that could cause this to happen?

推荐答案

这是主干上的已知问题,请确保使用最新的2.0版本

This is a known issue on the trunk, make sure to use the latest 2.0 build

这篇关于如果处理时出现异常,什么可以阻止NServiceBus将消息移至错误队列?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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