getCurrentDepth

 

public int getCurrentDepth() throws MQException;

Gets the number of messages currently on the queue. This value is incremented during a put call and during backout of a get call. It is decremented during a non-browse get and during backout of a put call.

Returns

  • the number of messages.

Exceptions

  • MQException - if you call this method after you have closed the queue, to indicate that the queue is no longer accessible.


uj14630_