Requesting Target Journaling (COM) (Windows CE 5.0)

Send Feedback

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

MSMQ Application Development | MSMQ COM Support | Using the COM Components | MSMQ Security

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.