简体   繁体   English

将远程事务MSMQ与WCF一起使用

[英]Use Remote Transactional MSMQ with WCF

I use MSMQ from WCF by NetMsmqBinding in remote transactional queue on windows server 2008. The write is OK but it can't read when ExactlyOne property is set to true. 我在Windows Server 2008的远程事务队列中通过NetMsmqBinding使用WCF的MSMQ。写入正常,但是当ExactlyOne属性设置为true时,无法读取。 I want the queue to retry when it fails with an exception. 我希望队列在出现异常失败时重试。

  1. How a message can be read in a private remote queue? 如何在专用远程队列中读取消息?
  2. How can I make the queue to retry when it fails? 队列失败时如何重试?

Thanks in advance. 提前致谢。

I know I am 3 years too late, but I was facing the same issue, and the following MSDN document helped me solve it : https://msdn.microsoft.com/en-us/library/ms700128(v=vs.85).aspx 我知道我已经晚了3年,但我遇到了同样的问题,以下MSDN文档帮助我解决了这个问题: https : //msdn.microsoft.com/zh-cn/library/ms700128(v=vs.85 ).aspx

Distributed transaction coordinator should be configured to allow inbound/outbound connections on both the servers. 分布式事务处理协调器应配置为允许两台服务器上的入站/出站连接。

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

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