日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁(yè) > 编程资源 > 编程问答 >内容正文

编程问答

MSMQ消息广播

發(fā)布時(shí)間:2023/12/9 编程问答 65 豆豆
生活随笔 收集整理的這篇文章主要介紹了 MSMQ消息广播 小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

安裝配置MSMQ消息廣播,并驗(yàn)證是否可以發(fā)送廣播消息,過程實(shí)錄。

?

1. 安裝MSMQ with broadcasting support

選擇安裝“消息隊(duì)列”,并在子選項(xiàng)中選擇“多播支持”一起安裝。

2. 注冊(cè)表修改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

防火墻規(guī)則中有一個(gè)預(yù)制的規(guī)則,可以選擇消息隊(duì)列進(jìn)行開放。

4. 確保網(wǎng)卡安裝了“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. 新建消息隊(duì)列

在“Computer Management”中新建一個(gè) Non Transactional的Private Queue。

添加上Multicast地址:

確保Security選項(xiàng)中,“Anonymous Logon”組具有“Send Message”的權(quán)限。新建的Private Queue 默認(rèn)就會(huì)有這個(gè)權(quán)限的。

6. 測(cè)試消息廣播功能是否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.

轉(zhuǎn)載于:https://blog.51cto.com/yuanhuan/1704075

總結(jié)

以上是生活随笔為你收集整理的MSMQ消息广播的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。