MSMQ消息广播
2015-10-19 09:48
253 查看
安装配置MSMQ消息广播,并验证是否可以发送广播消息,过程实录。
1. 安装MSMQ with broadcasting support
选择安装“消息队列”,并在子选项中选择“多播支持”一起安装。
2. 注册表修改MulticastBindIP
If Message Queueing found multiple IP addresses for the local computer. Message Queueing will use the default IP address determined by the PGM driver for multicast messages. To use a different IP address, set the \HKLM\Software\Microsoft\MSMQ\Parameters\MulticastBindIP
registry value to one of the following valid IP addresses: xxx.xxx.xxx.xxx.
3. 防火墙允许protocol PGM
防火墙规则中有一个预制的规则,可以选择消息队列进行开放。
4. 确保网卡安装了“Reliable Multicast Protocol”
安装步骤
1) Open Control Panel - Network Connections
2) Right click "Local Area Connection" and select Properties.
3) Click Install...
4) Select Protocol then click Add...
5) Browse the POSReady DVD for the \I386\INF folder
6) Select NETPGM.INF and choose OK. (The edit box will just display <drive>:\I386\INF, but this is expected.)
7) Select "Reliable Multicast Protocol" then click OK.
8) Stop and Restart Message Queuing Service.
9) Multicasting messages should now start working.
5. 新建消息队列
在“Computer Management”中新建一个 Non Transactional的Private Queue。
添加上Multicast地址:
确保Security选项中,“Anonymous Logon”组具有“Send Message”的权限。新建的Private Queue 默认就会有这个权限的。
6. 测试消息广播功能是否OK
Step 1. Open "Computer Management" -> "Message Queuing" in 146 and 147 machines. There are no messages in the Queue msmqtest.
Step 2. Send a message "146 test msg 001" by MSMQ tester tool in 146 machine.
Step 3. Check msmqtest queue messages in both 146/147 machines.
After sending this message, I can find it in msmqtest queue in 146 machine.
Also find it in 147 machine.
.
Step 4. Receive that message by MSMQ tester tool in 147.
Press "Receive", get nothing.
But, that message is gone in 147.
本文转自:程序员鼓励师
1. 安装MSMQ with broadcasting support
选择安装“消息队列”,并在子选项中选择“多播支持”一起安装。
2. 注册表修改MulticastBindIP
If Message Queueing found multiple IP addresses for the local computer. Message Queueing will use the default IP address determined by the PGM driver for multicast messages. To use a different IP address, set the \HKLM\Software\Microsoft\MSMQ\Parameters\MulticastBindIP
registry value to one of the following valid IP addresses: xxx.xxx.xxx.xxx.
3. 防火墙允许protocol PGM
防火墙规则中有一个预制的规则,可以选择消息队列进行开放。
4. 确保网卡安装了“Reliable Multicast Protocol”
安装步骤
1) Open Control Panel - Network Connections
2) Right click "Local Area Connection" and select Properties.
3) Click Install...
4) Select Protocol then click Add...
5) Browse the POSReady DVD for the \I386\INF folder
6) Select NETPGM.INF and choose OK. (The edit box will just display <drive>:\I386\INF, but this is expected.)
7) Select "Reliable Multicast Protocol" then click OK.
8) Stop and Restart Message Queuing Service.
9) Multicasting messages should now start working.
5. 新建消息队列
在“Computer Management”中新建一个 Non Transactional的Private Queue。
添加上Multicast地址:
确保Security选项中,“Anonymous Logon”组具有“Send Message”的权限。新建的Private Queue 默认就会有这个权限的。
6. 测试消息广播功能是否OK
Step 1. Open "Computer Management" -> "Message Queuing" in 146 and 147 machines. There are no messages in the Queue msmqtest.
Step 2. Send a message "146 test msg 001" by MSMQ tester tool in 146 machine.
Step 3. Check msmqtest queue messages in both 146/147 machines.
After sending this message, I can find it in msmqtest queue in 146 machine.
Also find it in 147 machine.
.
Step 4. Receive that message by MSMQ tester tool in 147.
Press "Receive", get nothing.
But, that message is gone in 147.
本文转自:程序员鼓励师
相关文章推荐
- GridView简单使用
- ArcGIS Server创建缓存地图服务教程
- RSA加密实践
- 手机端滚动条卡顿或者不显示问题
- Esri与开源
- HDU 4278 Faulty Odometer 转化进制
- cocos2dx 2.0版本在android下的安装配置问题
- 数据结构 (五)c++函数和参数传递 按值传递 按引用传递
- iOS代码实践总结
- 利用cxf实现webservice完整demo
- ArcGIS Server创建缓存地图服务教程
- 如何删除 Ubuntu 上不再使用的旧内核
- 监听键盘高度变化,以及键盘自定义
- Leetcode Subsets II
- 常用正则表达式
- 安装appach时出现没有安装gcc的错误,用yum安装gcc时yum出现错误(修改yum配置)
- iOS项目管理
- Centos 7 开启端口
- Android 编程下 Touch 事件的分发和消费机制
- 疯狂食材项目总结