MSMQ - 如何在两个应用程序之间进行通信
我最近开始研究 MSMQ,所以我有基本的疑问。如果两个应用程序需要通信,比如说服务器和客户端,我认为两者将共享相同的 MQ 地址,并且当客户端更新时,服务器将具有 MSMQ 观察程序,它将侦听消息选择并使用它。因此,根据我的说法,我们需要三个组件
客户端 - 它知道队列位置
队列观察程序 - 它监视队列
服务 - 队列观察程序将消息发送到哪个
I started looking into MSMQ very recently so i have basic doubts . If two application needs to communicate lets say server and client I think both will share the same MQ address and when the client update then the Server will be having the MSMQ watcher which will listen to the message pick and use it. So according to me there are three component we need
Client - which knows the Queue location
Queue watcher - which watches the queue
service -- to which queue watcher will send the message to
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Tom Hollander 撰写了有关 WCF 和 MSMQ 的优秀系列文章,共三篇。当我必须构建一个通过 MSMQ 进行通信的应用程序时,他们给了我很大帮助。还有第三篇文章,但 Stack Overflow 不允许我发帖,因为我是新用户。您可以从第二篇文章中找到它的链接。
MSMQ、WCF 和 IIS:让它们发挥出色(第 1 部分)
MSMQ、WCF 和 IIS:让它们发挥出色(第 2 部分)
Tom Hollander wrote an excellent series of three articles on WCF and MSMQ. They helped me alot when I had to build an application to communicate via MSMQ. There is a third article but Stack Overflow won't let me post since I'm a new user. You can find the link to it from the 2nd article.
MSMQ, WCF and IIS: Getting them to play nice (Part 1)
MSMQ, WCF and IIS: Getting them to play nice (Part 2)