Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to enable negative source journaling while sending a message to MSMQ?

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?

like image 259
nieve Avatar asked Oct 17 '12 15:10

nieve


1 Answers

Message m = new Message();
m.UseDeadLetterQueue = true;

Simple as.

like image 93
nieve Avatar answered Nov 14 '22 10:11

nieve