The PROPID_M_JOURNAL property specifies if the message should be kept in a machine journal (on the originating machine), sent to a dead letter queue, or neither.
PROPID_M_JOURNAL does not create a queue. Machine journals and dead letter queues are system queues generated by MSMQ. For information on machine journals and dead letter queues, see Journal Queues and Dead Letter Queues. For an example of reading messages from a machine journal or dead letter queue, see Reading Messages In a Queue.
MSMQ always sends transactional messages to the transaction dead letter queue (DEADXACT) on the source machine if the message is not delivered. For information on transactions, see MSMQ Transactions.
To use a machine journal or deadletter queue, pass PROPID_M_JOURNAL to MQSendMessage.
To see if the sending application is using a machine journal or dead letter queue, pass PROPID_M_JOURNAL to MQReceiveMessage and check the returned value. When passing PROPID_M_JOURNAL to MQReceiveMessage, the corresponding VT field in the aPropVar array can be set to VT_NULL.
Windows NT: Requires version 4.0 SP3 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in mq.h.
Import Library: Use mqrt.lib.
Unicode: Defined only as Unicode.
MQReceiveMessage, MQSendMessage