NServiceBus - 没有CompletionMessage的处理程序

时间:2014-05-06 14:03:53

标签: .net nservicebus

我正在启动一个只有一个处理程序的服务 - 用于在我的应用程序的消息程序集中定义的消息。

该应用正在从发布商应用中订阅此消息类型,并且在启动期间正在接收CompletionMessages。

没关系,除了我收到此错误消息:

2014-05-06T14:35:02.4226418+01:00   15/Worker.15    Warning Failed raising 'transport message received' event for message with ID=f59e8698-b0dd-44f4-8e48-7185c8da7302\1275884
Exception of type System.InvalidOperationException:
   Message: "No handlers could be found for message type: NServiceBus.Unicast.Transport.CompletionMessage"
   Source: "NServiceBus.Core"
   Target Site: "Void HandleTransportMessage(NServiceBus.ObjectBuilder.IBuilder, NServiceBus.Unicast.Transport.TransportMessage)"
   Help Link: ""
   Additional information specific to this exception:
   Stack Trace:
      at NServiceBus.Unicast.UnicastBus.HandleTransportMessage(IBuilder childBuilder, TransportMessage msg) in c:\TeamCity\buildAgent\work\nsb.master_2\src\unicast\NServiceBus.Unicast\UnicastBus.cs:line 1303
      at NServiceBus.Unicast.UnicastBus.TransportMessageReceived(Object sender, TransportMessageReceivedEventArgs e) in c:\TeamCity\buildAgent\work\nsb.master_2\src\unicast\NServiceBus.Unicast\UnicastBus.cs:line 1220
      at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
      at NServiceBus.Unicast.Transport.Transactional.TransactionalTransport.OnTransportMessageReceived(TransportMessage msg) in c:\TeamCity\buildAgent\work\nsb.master_2\src\impl\unicast\transport\NServiceBus.Unicast.Transport.Transactional\TransactionalTransport.cs:line 480

为什么NServiceBus不会通过内部处理程序自行选择这些消息?

0 个答案:

没有答案