Message properties
Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2
Message properties
In the context of Message Queuing, messages consist of a body and a set of properties, and can be of various types. Message bodies can contain text or any form of binary information, and can be encrypted.
Every message has properties. Some message properties are read-only, and the majority can only be modified programmatically. For more information, refer to the Message Queuing Software Development Kit (SDK).
Default message lifetime
Through the Computer Management snap-in, you can set the default lifetime of messages in your network, also known as the time-to-reach-queue (TTRQ) value. Messages are considered expired when the TTRQ value is reached. If you do not specify a TTRQ value, the following default setting apply:
4 days for messages sent from the following types of computers:
Computers running Message Queuing 3.0 in workgroup mode.
Clients running Message Queuing 3.0 that belong to a completely new Windows Server 2003 domain.
Clients running Message Queuing 3.0 that join an existing domain provided weakened security was not enabled for that forest.
90 days for messages sent from the following types of computers:
- Any computer in a migrated enterprise and computers running MSMQ 1.0 or MSMQ 2.0 in Windows 2000 and Windows NT 4.0.
For information on how to set the lifetime of messages on your network, see Set the default lifetime for messages.
You can view the properties of messages, and you can choose which message property columns appear by default in the details pane (usually the right pane) of the snap-in and in what order. For instructions on how to view message properties, see View message properties. You can choose the columns to be displayed by selecting a message in the Computer Management snap-in, and then clicking the View menu, and selecting Add/Remove Columns. The following message properties are available for selection.
Message property | Explanation |
---|---|
Admin Queue |
Specifies the name of the administration queue used for system-generated acknowledgment messages. |
Admin Queue Name Length |
Indicates the length (in Unicode characters) of the format name buffer of the administration queue. |
Application-specific |
Specifies application-generated information such as single integer values or application-defined message classes. |
Authenticated |
Indicates whether the message was authenticated at the request of the sending application. |
Correlation |
Specifies an application-generated correlation identifier that the receiving application can use to sort messages. |
Delivery Mode |
Specifies how Message Queuing delivers the message to the queue, in either recoverable, or express mode. For more information, see Message delivery methods. |
Destination Queue Format Name |
Indicates the name of the destination queues to which the message was sent. |
Destination Queue Format Name Length |
Indicates the length of the format name buffer (in Unicode characters) allocated by the receiving application. |
Encrypted |
Specifies whether the message body of a private message was encrypted. |
Encryption Algorithm |
Specifies the encryption algorithm used to encrypt the message body of a private message. |
Hash Algorithm |
Identifies the hashing algorithm that Message Queuing uses when authenticating the message. |
Label |
Specifies the label of the message. |
Label Length |
Identifies the length (in Unicode characters) of the message label buffer. |
Message ID |
Indicates a unique identifier for each message in your enterprise. This includes application-generated and system-generated messages sent by Message Queuing. |
Message Lookup ID |
Indicates the lookup identifier of the message. The receiving application can use this identifier to peek at or retrieve the message from the queue without navigating the queue. |
Priority |
Indicates the message priority. A higher number indicates a higher priority message. The default value is 3. |
Recipient Queue |
Specifies the queue to which application-generated response messages are returned. |
Recipient Queue Name Length |
Indicates the length (in Unicode characters) of the response queue format name buffer. This is used by the receiving application to allocate a buffer for the response queue specified by the sending application. |
Response Queue |
Specifies the response queues used for returning application-generated response messages. |
Response Queue Format Name |
Specifies the response queues used for returning application-generated response messages. |
Response Queue Format Name Length |
Indicates the length (in Unicode characters) of the format name buffer allocated by the receiving application. |
Response Queue Name Length |
Indicates the length (in Unicode characters) of the format name buffer of the response queue format name buffer. |
Sender ID |
Identifies who sent the message, and used primarily by the receiving queue manager when authenticating a message. |
Sender ID exists |
Identifies who sent the message, and used primarily by the receiving queue manager when authenticating a message. |
Sender ID Length |
Indicates the length of the Sender ID. |
Size |
Indicates the size of the message body. |
Source Computer |
Provides the globally unique identifier (GUID) of the computer that sent the message. |
Time Arrived |
Indicates the date and time that the message was received. |
Time Sent |
Indicates the date and time that the message was sent by the source. |
Tracked |
Specifies whether Message Queuing traces the route of the message. |