我想設置NServiceBus使用遠程錯誤隊列來簡化錯誤檢查的管理。當我這樣做,我得到以下錯誤,當NServiceBus.Host.exe啓動:如何正確設置NServiceBus以使用遠程錯誤隊列?
2010-03-25 07:59:50103 [1] ERROR NServiceBus.Utils.MsmqUtilities [(NULL)] < (null)> - 無法在C0NSERVICEBUS上創建隊列錯誤或檢查其存在。處理將繼續。 System.Messaging.MessageQueueException:無效的隊列路徑名稱。 在System.Messaging.MessageQueue.ResolveFormatNameFromQueuePath(字符串queuePath,布爾throwException) 在System.Messaging.MessageQueue.Exists(字符串路徑) 在NServiceBus.Utils.MsmqUtilities.CreateQueueIfNecessary(字符串QUEUENAME)
以下是我的配置NServiceBus的設置:
<!-- in order to configure remote endpoints use the format: "[email protected]"
input queue must be on the same machine as the process feeding off of it.
error queue can (and often should) be on a different machine. -->
<MsmqTransportConfig InputQueue="ClipboardSubscriberInputQueue" ErrorQueue="[email protected]" NumberOfWorkerThreads="1" MaxRetries="5"/>
<UnicastBusConfig>
<MessageEndpointMappings>
<add Messages="PatientFirst.Messaging" Endpoint="[email protected]"/>
</MessageEndpointMappings>
</UnicastBusConfig>
這是正常的預期行爲,如果不是我做錯了什麼?