简体   繁体   English

消息队列错误

[英]Message Queue Error

I am using the Microsoft Message Queueing service in combination with the NTServiceBus (Eventbroker). 我将Microsoft Message Queuing服务与NTServiceBus(Eventbroker)结合使用。

The application is running on a client´s pc with the Message Queueing Service installed. 该应用程序在安装了消息队列服务的客户端计算机上运行。 The eventbroker works as it is supposed to and everything works finde. 事件代理按预期工作,发现一切正常。 But every now an then... 2-3 times a month maybe, the software crashes with the following exception: 但是现在每隔一个月……可能每月发生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.

If it wouldn´t work at all, this error would make sense to me... but why is it just crashing once in a while? 如果它根本不起作用,那么这个错误对我来说还是有意义的……但是为什么它偶尔会崩溃一次?

This error can occur when you exceed the MSMQ storage quota limits (default value is 1 GB for sum of bytes all queues). 当您超出MSMQ存储配额限制(所有队列的字节总和的默认值为1 GB)时,会发生此错误。 Check if your consumer can handle the amount of messages you send. 检查您的使用者是否可以处理您发送的邮件数量。 The MSMQ performance counters are good tools to monitor this (MSMQ Service > Total bytes in all queues, for instance). MSMQ性能计数器是监视此状况的好工具(例如,MSMQ服务>所有队列中的总字节数)。

If you have bursts of messages that make you hit the quota, you could possibly need to increase the quota. 如果您有一连串的消息使您达到配额,则可能需要增加配额。 This is done in the Computer Management console > Services and Applications > Message Queuing > Properties. 这是在计算机管理控制台>服务和应用程序>消息队列>属性中完成的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 将消息发送到队列时出错 - Error sending message to queue 首次将消息发送到错误队列 - Send message to error queue first time 如何转发具有Rebus错误队列异常的消息 - How to forward a message with exceptions to Rebus error queue 消息队列错误:找不到能够读取消息的格式化程序 - Message Queue Error: cannot find a formatter capable of reading message 错误:消息队列未能验证发送到队列的消息的数字签名 - Error : Message Queuing failed to verify digital signature of a message sent to queue 如何引发强制将消息发送到NServiceBus中的错误队列的异常 - How to throw an exception that forces message to error queue in NServiceBus 来自服务总线队列的消息因活动功能出错而消失 - Message from servicebus queue disappears on error in activity function 错误出现在队列前面的Azure WebJob服务总线重新排队消息 - Azure WebJob Service Bus requeue message infront of the queue on error 套接字错误将消息发送到Service Bus 1.0队列 - Socket error sending message to Service Bus 1.0 queue MSMQ WCF 在开发人员代码中未发生错误时处理后进入毒物队列的事务队列消息 - MSMQ WCF Transactional Queue Message going to Poison Queue after proccessing when no error is occurring in developer code
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM