Target Journaling
Applies To: Windows 10, Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Server Technical Preview, Windows Vista
When you enable target journaling on a queue, Message Queuing places a copy of any message that you retrieve from the queue in that queue's queue journal. Target journaling lets you keep track of messages even after they have been retrieved.
Note
This does not include messages removed from the queue when their time-to-be-received timer expires, or messages purged from the queue using the directory service.
When you specify target journaling, be aware of the following:
Target journaling is enabled by setting the journaling level of the queue. The journaling level of a queue can be set when the queue is created or later.
You must periodically clear messages from the queue journal to remove messages that are no longer needed. Messages 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.
More Information
For information on | See |
---|---|
Source journaling | Source Journaling |
The queues used for journaling | Journal Queues |
Examples
For an example of | See |
---|---|
Enforcing target journaling when creating a queue | C/C++ Code Example: Enforcing Target Journaling Visual Basic Code Example: Enforcing Target Journaling |
Reading messages in a queue journal | C/C++ Code Example: Reading Messages in a Queue Journal Visual Basic Code Example: Reading Messages in a Queue Journal |