簡體   English   中英

從msmq專用隊列切換到公共

[英]switching from msmq private queue to public

目前,我正在使用或使用msmq專用隊列,我需要將其更改為公共隊列。 我發現的是,我只需要更改端點地址

address="net.msmq://132.186.201.193/private/IEventQueue" 

address="net.msmq://132.186.201.193/public/IEventQueue"

但是,這是行不通的,我正面臨異常

There was an error opening the queue. Ensure that MSMQ is installed and running, the queue exists and has proper authorization to be read from. The inner exception may contain additional information. ---> System.ServiceModel.MsmqException: An error occurred while opening the queue:The queue does not exist or you do not have sufficient permissions to perform the operation. (-1072824317, 0xc00e0003). The message cannot be sent or received from the queue. Ensure that MSMQ is installed and running. Also ensure that the queue is available to open with the required access mode and authorization.

我在配置中缺少什么?

問候,阿妮

您無法更改現有隊列,需要創建一個新的公共隊列。

編輯以下評論:

是的,您可以遠程發布到專用隊列,但是您需要正確獲得名稱和地址-請參閱http://www.infosysblogs.com/microsoft/2007/02/msmq_sending_message_to_remote.html

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM