【问题标题】:Getting the NServiceBus Distributor Sample To Work让 NServiceBus 分发器示例工作
【发布时间】:2009-11-13 10:36:23
【问题描述】:

我正在尝试在 NServiceBus FullDuplex 示例中使用 Distributor,但无法正常工作。我一直在关注本指南Getting the NServiceBus Distributor Working,但它不起作用。

有两个问题,一个是没有创建distributordatabus 我认为Distributor 应该创建这个。这是我在启动 Distributor 时遇到的错误,我认为这与它有关。

2009-11-13 11:27:15,811 [7] ERROR NServiceBus.Distributor.EndpointRunner [(null)
] <(null)> - Problem occurred when starting the endpoint.
System.InvalidOperationException: No message serializer has been configured.
   bij NServiceBus.Unicast.Transport.Msmq.MsmqTransport.CheckConfiguration() in
d:\Code\Other\NServiceBus\trunk\src\impl\unicast\NServiceBus.Unicast.Msmq\MsmqTr
ansport.cs:regel 229

第二个问题是当我启动客户端时,我没有启动,因为它找不到distributordatabus。这是个例外。

启动端点时出现异常, 错误已被记录。原因: 目标队列'distributordatabus' 找不到。你可能有 为此错误配置了目的地 一种消息 (NServiceBus.Unicast.Transport.CompletionMessage) 在 MessageEndpointMappings 的 您的 UnicastBusConfig 部分 配置文件。它也可能是 给定队列没有的情况 尚未创建,或已被删除。

这是我不明白的事情。为什么客户端需要远程队列存在?

还有一点,我用的是trunk版。

问候,

乔辰

【问题讨论】:

    标签: msmq nservicebus


    【解决方案1】:

    【讨论】:

    • 从这个版本启动了分发器,它工作了。谢谢。
    猜你喜欢
    • 2011-06-08
    • 1970-01-01
    • 1970-01-01
    • 2018-05-22
    • 1970-01-01
    • 1970-01-01
    • 2020-12-10
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多