NServiceBus 2.0.0.1219 未拾取消息
从 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 trieduseLegacyV2RuntimeActivationPolicy="true"
but no luck.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
那么您的日志或其他任何内容中都没有显示任何内容,消息只是位于队列中?
So nothing shows up in your logs or anything, the messages just sit on the queue?
看来这与服务器不是 R2 有关。升级到R2后,一切正常
It appears that it had something to do with the server not being R2. After upgrading to R2, everything works as expected