Search code examples
c#msmq

Set PROPID_Q_JOURNAL for a created MSMQ queue


I need to set the default PROPID_Q_JOURNAL property for a queue that I am creating with MessageQueue.Create.

There is no provided overload for setting this property?

This is the property, on the queue, that I want to set.

enter image description here


Solution

  • Set the MessageQueue.UseJournalQueue Property.