Requesting Target Journaling (COM)
A version of this page is also available for
4/8/2010
Target journaling is requested by setting the journaling level (MSMQQueueInfo.Journal) of the queue. You can set the journaling level of the queue when you create the queue or later.
To request target journaling
Declare the MSMQQueueInfo variable for the queue.
Create a new MSMQQueueInfo object and assign it to the variable.
Specify the pathname of the queue.
Note
For Message Queuing servers and independent clients, the local machine is the local computer. However, for Message Queuing–dependent clients, the local machine is the client's Message Queuing server.
Set MSMQQueueInfo.Journal to MQ_JOURNAL.
(Optional) Add additional queue properties you need.
Call MSMQQueueInfo.Create to create the queue.
See Also
Concepts
MSMQ COM Support
Using the COM Components
MSMQ Security