NServiceBus 2.0.0.1219 未拾取消息

发布于 2024-09-18 04:08:51 字数 482 浏览 3 评论 0原文

从 NServiceBus 2.0.0.1145 (.net 3.5) 升级到版本 2.0.0.1219 (.net 4.0) 后,在 Windows 2008 服务器上运行时不再从队列中拾取消息。在我的开发机器(win 7)上一切都按预期工作。消息已成功放入队列,但随后什么也没有发生。

这可能是权限问题吗?如果是这样,我会期望出现异常,或者至少是一个日志条目,但没有迹象表明出现了问题。
loadFromRemoteSources启用=true

<启动>


已添加到配置中,我也尝试过
useLegacyV2RuntimeActivationPolicy="true"
但没有运气。

After upgrading from NServiceBus 2.0.0.1145 (.net 3.5) to version 2.0.0.1219 (.net 4.0), messages are no longer picked up from the queues when running on a windows 2008 server. Everything works as expected on my dev machine (win 7). Messages are successfully put on the queues, but then nothing happens.

Could this be a permissions issue? If so, I would expect an exception, or at the very least a log entry, but there's no indication that something is wrong.
loadFromRemoteSources enabled=true
and
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
</startup>

has been added to the config, and I've also tried
useLegacyV2RuntimeActivationPolicy="true"
but no luck.

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

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

发布评论

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

评论(2

浅忆 2024-09-25 04:08:51

那么您的日志或其他任何内容中都没有显示任何内容,消息只是位于队列中?

So nothing shows up in your logs or anything, the messages just sit on the queue?

岁月染过的梦 2024-09-25 04:08:51

看来这与服务器不是 R2 有关。升级到R2后,一切正常

It appears that it had something to do with the server not being R2. After upgrading to R2, everything works as expected

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