我正在结合使用微软的消息队列服务和NTServiceBus (Eventbroker)。
应用程序在安装了消息队列服务的客户端pc上运行。eventbroker按照它应该运行的方式工作,并且一切都正常工作。但时不时的.一个月2-3次,软件可能会崩溃,出现以下异常:
NServiceBus.Unicast.UnicastBus|Failed to subscribe to
Appccelerate.DistributedEventBroker.NServiceBus.Messages.INServiceBusEventFired,
Appccelerate.DistributedEventBroker.NServiceBus, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=917bca444d1f2b4c at publisher queue frontkomm.net@kkl
NServiceBus.Unicast.Queuing.QueueNotFoundException: Failed to send message to address:
[frontkomm.net@kkl] ---> System.Messaging.MessageQueueException: The queue does
not exist or you do not have sufficient permissions to perform the operation.如果它根本不起作用,这个错误对我来说是有意义的……但是为什么它只是偶尔崩溃呢?
发布于 2013-07-22 16:12:50
当超过MSMQ存储配额限制(所有队列的总字节数的默认值为1 GB )时,可能会出现此错误。检查您的消费者是否能够处理您发送的消息数量。MSMQ性能计数器是监视此情况的好工具(例如,MSMQ服务>所有队列中的总字节数)。
如果你有突发的消息使你达到配额,你可能需要增加配额。这可以在“计算机管理控制台”>“服务和应用程序”>“消息队列”>“属性”中完成。
https://stackoverflow.com/questions/17739705
复制相似问题