Share via


Requesting Target Journaling (COM) (Windows Embedded CE 6.0)

1/6/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

  1. Declare the MSMQQueueInfo variable for the queue.

  2. Create a new MSMQQueueInfo object and assign it to the variable.

  3. 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.

  4. Set MSMQQueueInfo.Journal to MQ_JOURNAL.

  5. (Optional) Add additional queue properties you need.

  6. Call MSMQQueueInfo.Create to create the queue.

See Also

Concepts

Requesting Journaling (COM)
MSMQ COM Support
Using the COM Components
MSMQ Security

Other Resources

Message Queuing