简体   繁体   English

WCF-MSMQ服务

[英]WCF-MSMQ Service

我们可以在没有Windows域的情况下使用公共队列吗?

The essential difference between public and private queues in MSMQ is that public queues are published in Active Directory (and all that entails). MSMQ中的公共队列和私有队列之间的本质区别在于,公共队列在Active Directory中发布(以及所有这些操作)。 So to answer your question, no you cannot (though without much context in your question, perhaps I am missing something). 因此,要回答您的问题,您不能(尽管您的问题中没有太多背景信息,也许我缺少了一些东西)。

That said private queues are plenty capable (plus they are not subject to the dependency and performance hit of public queues) and they may be accessed across different machines (I think the private moniker can be a little misleading). 也就是说,专用队列具有足够的功能(此外,它们不受公共队列的依赖性和性能影响),并且可以在不同的机器上访问它们(我认为private名称可能会引起误解)。 By using the Direct Format Name, you may access an MSMQ on another machine via a computer address (be that a local computer name, an IP address, etc). 通过使用直接格式名称,您可以通过计算机地址(本地计算机名称,IP地址等)访问另一台计算机上的MSMQ。 Here is a useful article describing some of the differences between the public and private queues. 这是一篇有用的文章,描述了公共队列和私有队列之间的一些区别。

http://technet.microsoft.com/en-us/library/cc776346%28WS.10%29.aspx http://technet.microsoft.com/zh-cn/library/cc776346%28WS.10%29.aspx

And here is a useful article on using MSMQ in the enterprise. 这是有关在企业中使用MSMQ的有用文章。

http://www.devx.com/enterprise/Article/22314 http://www.devx.com/enterprise/Article/22314

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

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