简体   繁体   English

MSMQ专用队列消息丢失

[英]MSMQ private queue messages are lost

I am working on a biztalk project where I am using msmq. 我正在使用msmq的biztalk项目中工作。 The problem here is the queue messages are getting lost before receiving by the biztalk.. I can't use transaction in biztalk as it will decrease the performance. 这里的问题是,队列消息在被biztalk接收之前丢失了。.我不能在biztalk中使用事务,因为它将降低性能。
Can anyone suggest me why I am facing this issue and a solution for this? 谁能建议我为什么要面对这个问题以及解决方案? Thanks in advance! 提前致谢!

When messages are sent to a non transaction queue, they will be lost if queuing service restart or some unexpected event happens. 将消息发送到非事务队列时,如果重新启动排队服务或发生某些意外事件,它们将丢失。 For this not to happen, you can use Recoverable property of message when sending message. 为此,可以在发送消息时使用消息的Recoverable属性。 This is also documented here MSDN . 这也记录在MSDN中 This property is also supported by BizTalk MSMQ send port if you are sending messages from BizTalk to queue. 如果要将消息从BizTalk发送到队列,则BizTalk MSMQ发送端口也支持此属性。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM