Skip to content
busterwood edited this page Jan 3, 2018 · 3 revisions

Static Methods:

  • Exists() returns TRUE of the queue path exists
  • TryCreate() tries to create a queue, returning the format name of the new or existing queue
  • TryDelete() deletes a queue, if the queue exists
  • PathToFormatName() gets the format name for a queue path
  • MoveMessage() moves a message between subqueues
  • NewTempQueuePath() creates a unique queue path name
  • DeleteOldTempQueues() removes all temporary queues created by processes that are no longer running

Notes on queue creation

When creating a queue you should always set a queue size quota, otherwise your server will stop responding when the disk fills up. This could happen because:

  • a bug in your or someone else's code (it will happen at some point)
  • a queue configured to receive from multicast will continue to fill up even when the intended recipient processes has stopped

To help with queue quotas the TryCreate() method sets a default quota size of 20MB.

Clone this wiki locally