问题
I'm trying to send a message through System.Messaging.MessageQueue (.NET) and the message keeps on disappearing. I've seen people recommending enabling negative source journaling, but can't seem to find out how this is done. Anyone?
回答1:
Message m = new Message();
m.UseDeadLetterQueue = true;
Simple as.
来源:https://stackoverflow.com/questions/12937306/how-to-enable-negative-source-journaling-while-sending-a-message-to-msmq