Set the Message Storage Size for Queues

Applies To: Windows Server 2008

Use this procedure to set the message storage size for Message Queuing queues.

You can use this procedure to set the message storage size for Message Queuing queues. Set the message storage size for Message Queuing queues to limit the disk space that can be used by a Message Queuing queue.

Membership in the local Administrators group or equivalent, is the minimum required to complete this procedure.

To set the message storage size for Message Queuing queues

  1. Click Start, point to Run, type compmgmt.msc, and press ENTER to display the Computer Management MMC console.

  2. In the console tree, right-click the applicable queue.

    Where?

    • Computer Management/Services and Applications/Message Queuing/YourQueueFolder (such as Public Queues or Private Queues)/YourQueue
  3. Click Properties.

  4. Select the Limit message storage to (KB) check box, and then type the total size, in kilobytes, of all queue messages that can be stored in the queue.

Additional considerations

  • Any changes made will not take effect until the Message Queuing service is stopped and restarted.

  • The message storage size limit, or quota, for a queue specifies the maximum cumulative size of all messages contained in the applicable queue. This quota can be any integer between 0 and 4,294,967,294.

  • When the message storage size limit for a destination queue is reached, new incoming messages are discarded, and a negative acknowledgment message indicating that the destination queue is full is generated. Messages can be placed in the queue only after one or more messages are removed from the queue.

  • If you clear the Limit message storage to (KB) check box, the message size will be limited only by the available disk space on the local computer.

  • You can also perform this task using the Active Directory Users and Computers snap-in. For more information, see Additional references.

Additional references