NServiceBus服务在Windows日志查看器中发生异常崩溃

时间:2014-09-10 12:29:56

标签: msmq nservicebus

我有NServiceBus作为主机,有时服务崩溃,我在Windows事件日志中看到以下内容:

 Application: NServiceBus.Host.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: Common.Logging.ConfigurationException
Stack:
at NServiceBus.Unicast.UnicastBus.SendMessage(System.Collections.Generic.List`1<NServiceBus.Address>, System.String, NServiceBus.Unicast.Transport.MessageIntentEnum, System.Object[])
at NServiceBus.Unicast.UnicastBus.SendMessage(NServiceBus.Address, System.String, NServiceBus.Unicast.Transport.MessageIntentEnum, System.Object[])
at NServiceBus.Unicast.UnicastBus.NServiceBus.IBus.Send(System.Object[])
at MyApp.AutomaticChanger.SendNotificationToClient(System.String, 
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.ThreadHelper.ThreadStart()

我的SendNotificationToClient方法确实向总线发送了一条消息。但它崩溃的原因并不清楚。

0 个答案:

没有答案