getQueueDepth method

Returns the total depth of all queues, based on a given filter.

Syntax
int ianywhere.qanywhere.client.QAManagerBase.getQueueDepth(
  String queue,
  short filter
)
Parameters
  • queue   The queue name.

  • filter   A filter indicating incoming messages, outgoing messages, or all messages.

Throws
Remarks

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 method), including uncommitted outgoing messages.

For a list of possible filter values, see Interface QueueDepthFilter.

Returns

INTEGER - The number of messages that have not been received.