让 NServiceBus 分发器示例正常工作

发布于 2024-08-11 01:28:11 字数 1140 浏览 4 评论 0原文

我正在尝试使用 NServiceBus FullDuplex 示例中的分发器,但无法使其工作。我一直在遵循本指南 让 NServiceBus 分发器工作,但它不起作用。

有两个问题,一是经销商数据总线没有被创建,我认为经销商应该创建这个。这是我在启动分发器时遇到的错误,我认为这与它有关。

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 版本。

问候,

约亨

I'm trying to use the Distributor in the NServiceBus FullDuplex sample but I can't get it working. I've been following the this guide Getting the NServiceBus Distributor Working, but it doesn't work.

There are two problems, one the distributordatabus isn't being created I think the Distributor should create this one. This is the error I get when starting the Distributor, I think it has something to do would it.

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

The second problem is when I start the client, I doesn't start because it can't find the distributordatabus. This is the exception.

Exception when starting endpoint,
error has been logged. Reason: The
destination queue 'distributordatabus'
could not be found. You may have
misconfigured the destination for this
kind of message
(NServiceBus.Unicast.Transport.CompletionMessage)
in the MessageEndpointMappings of the
UnicastBusConfig section in your
configuration file.It may also be the
case that the given queue just hasn't
been created yet, or has been deleted.

This is something I don't understand. Why does the client need the remote queue to exist?

One more thing, I'm using the trunk version.

Regards,

Jochen

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文