单个队列的多个列表器 [英] Multiple listners for a single queue

查看:63
本文介绍了单个队列的多个列表器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我想要两个或更多的Windows服务来观看队列(MSMQ)如果队列中的消息应该等同于队列中的消息。

Ex如果三个消息是队列中有消息然后消息1应该转到列表器1,消息2转到列表器2等。

每个列表器都安装在不同的服务器上。

请帮忙任何一个我尝试了很多东西但没有什么工作

解决方案

看看

http://msdn.microsoft.com/en-us/magazine/cc163920.aspx [ ^ ]

http://www.malgreve.net/2008/06/17/load-balancing-msmq-messages/ [ ^ ]

Hi
I want two or more windows services to watch a queue(MSMQ)if messages come in the queue the listners should pick them equally .
Ex if three message is there messages in the queue then message 1 should go to listner 1 and message 2 to listner 2 etc.,
Each listners are installed in different servers.
Please helpout any one i tried many things but nothing is working

解决方案

Have a look at
http://msdn.microsoft.com/en-us/magazine/cc163920.aspx[^]
http://www.malgreve.net/2008/06/17/load-balancing-msmq-messages/[^]


这篇关于单个队列的多个列表器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆