传出 MSMQ 超时配置
我有一个使用 NServiceBus 发送和接收消息的应用程序。当应用程序在特定时间段内未收到消息时,传出连接就会丢失,这会导致应用程序在重新启动或启动消息之前无法收到消息。
有没有办法配置MSMQ超时?
I have an application that uses NServiceBus to send and receive messages. When the application hasn't received a message in a certain time period the outgoing connection is lost which results in messages not being received on the application until it has been restarted or it initiates a message.
Is there a way to configure the MSMQ timeout?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
正如评论中提到的,传出队列是临时的,如果在一段时间内没有发送消息,则传出队列将被删除。这不会导致消息丢失。这仍然是一个问题吗?
As mentioned in the comments outgoing queues are temporary and will be removed if no messages are sent in a certain period of time. This can't cause message loss. Is this still a problem?