本文介绍了发布/订阅MSMQ消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何将MSMQ消息发布到多个订阅者?
How can i publish MSMQ messages to multiple subscribers?
推荐答案看看: MessageQueue.MulticastAddress属性 [ ^ ] MulticastAddress属性用于将非事务队列与发送消息时可以使用的多播地址相关联.您不能将事务队列与多播地址相关联.当发送应用程序将消息发送到多播地址时,消息队列会将消息的副本发送到与该地址关联的每个队列. 最好的问候 Espen Harlinn Have a look at: The MessageQueue.MulticastAddress Property[^] The MulticastAddress property is used to associate a non-transactional queue with a multicast address that can be used when sending messages. You cannot associate a transactional queue with a multicast address. When the sending application sends messages to a multicast address, Message Queuing sends a copy of the message to every queue associated with that address. Best regards Espen Harlinn
此 [ ^ ]可能会有所帮助. This[^] might help.
更多推荐
发布/订阅MSMQ消息
发布评论