message queue storage limit on a single queue doesn't work?
问题 Send() doesn't throw exception when the queue is full. I have two private message queue, say queue and queue1, i set message storage of queue1 to a small amount say 5120 kb, in my program i send message to both queue and queue1, when queue1 is full while the global queue is not full, the Send() method on queue1 doesn't throw exception, why is this? i was expecting the send() method on queue1 throw exception so i know it is full. 回答1: I think this is by design: from MSMQ FAQ: MQSendMessage()