This documentation is archived and is not being maintained.

DefaultPropertiesToSend.UseJournalQueue Property

Gets or sets a value that indicates whether a copy of the message should be kept in a machine journal on the originating computer.

Namespace: System.Messaging
Assembly: System.Messaging (in system.messaging.dll)

public bool UseJournalQueue { get; set; }
/** @property */
public boolean get_UseJournalQueue ()

/** @property */
public void set_UseJournalQueue (boolean value)

public function get UseJournalQueue () : boolean

public function set UseJournalQueue (value : boolean)

Property Value

true to require that a copy of a message be kept in the originating computer's machine journal after it has been successfully transmitted from the originating computer to the next step; otherwise, false. The default is false.

UseJournalQueue and UseDeadLetterQueue specify how Message Queuing will track a message. If UseJournalQueue is true, then at each step that a message is transmitted, a copy is kept in the computer journal on the originating computer.

The sent message will only be copied to the journal queue if the destination queue is on a remote computer. If the destination is on the local computer, the message is sent directly to the queue; there are no intermediate steps to require journaling.

When you store messages in a journal queue, empty the queue periodically to remove messages that are no longer needed. Messages stored in journal queues count against the quota for the computer where the queue resides (the computer quota is set by the administrator).

You do not create a journal or dead-letter queue. These are both system queues that are generated by Message Queuing.

Journaling can be specified by both the message and the queue. When DefaultPropertiesToSend.UseJournalQueue is true, the message is journaled when it is sent. When MessageQueue.UseJournalQueue is true, the message is journaled when it is received.

  • Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0

.NET Compact Framework

Supported in: 2.0