переключение с частной очереди msmq на публичную - PullRequest
1 голос
/ 27 июня 2011

В настоящее время я работаю или использую частную очередь msmq, мне нужно изменить это на общую очередь.Я обнаружил, что мне нужно изменить только адрес конечной точки

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

TO

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.

Чего мне не хватает здесь, в конфиге?

С уважением, Ани

1 Ответ

1 голос
/ 27 июня 2011

Вы не можете изменить существующую очередь, вам нужно будет создать новую общедоступную очередь.

Редактировать следующий комментарий:

Да, вы можете удаленно публиковать сообщения в частной очереди, новам нужно точно указать имя и адрес - см. http://www.infosysblogs.com/microsoft/2007/02/msmq_sending_message_to_remote.html

...