queue A filter indicating incoming messages, outgoing messages, or all messages.
filter The queue name.
Thrown if there was an error.
Returns the depth of a queue, based on a given filter.
The depth of the queue is the number of messages that have not been received (for example, using the QAManagerBase.getMessage(String) method).
For a list of possible filter values, see Interface QueueDepthFilter.
The number of messages.