address The queue name.
filter A filter indicating incoming messages, outgoing messages, or all messages.
Returns the depth of a queue, based on a given filter.
The depth of the queue is the number of messages which have not been received (for example, using QAManagerBasegetMessage).
The number of messages in the queue, or -1 if an error occurs.