Target Journaling

Applies To: Windows Server 2008

Target journaling

Target journaling is the process of storing copies of incoming messages on the computer hosting the applicable destination queue. Target journaling is configured on a per-queue basis. If you enable target journaling, Message Queuing sends a copy of any message you retrieve from a queue to the corresponding queue journal. Target journaling lets you keep track of messages even after they have been retrieved. Note that this does not include messages purged from the queue. For more information, see Purge All Messages in a Queue. Peeking at messages does not remove them from the queue. For more details, see Messages.

When enabling target journaling, consider the following:

  • Target journaling is enabled by setting the journaling level of the queue. This can be set both when the queue is created or later.

  • You must periodically clear messages from the queue journal to remove messages that are no longer needed. Message stored in the queue journal count against the quota of the journal and the quota of the computer where the queue journal resides (the computer quota is set by the administrator).

  • If the journal or computer quota is exceeded, Message Queuing will not send copies of the messages to the journal when the messages are received, and those messages will be lost.

  • A copy of each message retrieved from the applicable queue is transferred to the corresponding queue journal. This does not include messages removed from the queue when their time-to-reach-queue lifetime expires. For more information, see Message Timers.

A queue journal is automatically created for each queue. It is listed as Journal messages under the applicable queue in Computer Management and Active Directory Users and Computers. Target journaling is disabled by default. For information about how to enable target journaling, see Enable or Disable Target Journaling.