让 NServiceBus 分发器示例正常工作
我正在尝试使用 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
已针对版本 2.0 进行修复,可在此处获取:
http: //teamcity.codebetter.com/repository/download/bt96/7268:id/NServiceBus.2.0.0.948.zip
Fixed for version 2.0 and available here:
http://teamcity.codebetter.com/repository/download/bt96/7268:id/NServiceBus.2.0.0.948.zip