Queue Properties

Queue properties define the queue. They can be set by MSMQ or by the application. Queue properties include ways to identify the queue, specify who has access to the queue, if the queue's journal queue is to be used, and many more features.

The following table lists all the queue properties provided by MSMQ.

Property Name Description
PROPID_Q_AUTHENTICATE Optional. Specifies whether or not the queue only accepts authenticated messages.
PROPID_Q_BASEPRIORITY Optional for public queues only. Specifies a single base priority for all messages sent to the queue.
PROPID_Q_CREATE_TIME Read-only. Indicates the time and date when the queue was created. This property is set by MSMQ when MQCreateQueue is called.
PROPID_Q_INSTANCE Read-only (public queues only). Identifies the created queue (not an open instance of the queue).This property is set by MSMQ when MQCreateQueue is called.
PROPID_Q_JOURNAL Optional. Specifies if a target journal is maintained for a specified queue.
PROPID_Q_JOURNAL_QUOTA Optional. Specifies the maximum size of the target journal (in Kbytes).
PROPID_Q_LABEL Optional. Specifies a description of the queue.
PROPID_Q_MODIFY_TIME Optional. Indicates the last time the properties of a queue were modified. This property is set by MSMQ when MQCreateQueue is called, then reset by MSMQ each time the queue properties are modified by calls to MQSetQueueProperties.
PROPID_Q_PATHNAME Required to create the queue. Specifies the MSMQ pathname of the queue. The MSMQ pathname includes the name of the machine where the queue's messages are stored, whether the queue is public or private, and the name of the queue.
PROPID_Q_PRIV_LEVEL Optional. Specifies the privacy level required by the queue. The privacy level determines how the queue handles encrypted messages.
PROPID_Q_QUOTA Optional. Specifies the maximum size of the queue (in Kbytes).
PROPID_Q_TRANSACTION Optional. Specifies whether the queue is a transaction queue or a non-transaction queue.
PROPID_Q_TYPE Optional. Specifies the type of service provided by the queue.

In addition to describing the queue, queue properties can be used as filters to select a unique set of public queues. The MSMQ locate functions allow you to select the queue properties that you want to use as filters, returning only those queues that match the properties you specified. All public queue properties can be used as filters.

For information on how to locate a queue, see one of the following:


© 1997 by Microsoft Corporation. All rights reserved.