我正在尝试设置 NServiceBus 以使用远程错误队列来简化检查错误的管理。当我这样做时,当 NServiceBus.Host.exe 启动时出现以下错误:
2010-03-25 07:59:50,103 [1] 错误 NServiceBus.Utils.MsmqUtilities [(null)] <(null)> - 无法创建队列错误@C0NSERVICEBUS 或检查其存在。处理仍将继续。System.Messaging.MessageQueueException:队列路径名无效。在 System.Messaging.MessageQueue.ResolveFormatNameFromQueuePath(String queuePath, Boolean throwException) 在 System.Messaging.MessageQueue.Exists(String path) 在 NServiceBus.Utils.MsmqUtilities.CreateQueueIfNecessary(String queueName)
这是我对 NServiceBus 的配置设置:
<!-- in order to configure remote endpoints use the format: "queue@machine"
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="error@C0NSERVICEBUS" NumberOfWorkerThreads="1" MaxRetries="5"/>
<UnicastBusConfig>
<MessageEndpointMappings>
<add Messages="PatientFirst.Messaging" Endpoint="ClipboardPublisherInputQueue@C0NSERVICEBUS"/>
</MessageEndpointMappings>
</UnicastBusConfig>
这是正常的预期行为,如果不是我做错了什么?