2010-03-25 85 views
3

我想設置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> 

這是正常的預期行爲,如果不是我做錯了什麼?

回答

3

這是正常行爲。

NServiceBus嘗試自動創建隊列,當它可以。當它不能時,它的較低級別的組件可能會抱怨,但正如你在日誌中看到的,更高級別的組件繼續工作。

相關問題