title: Check MQ queue depth
body: <p>Can anyone help in doing the code in java of getting the depth of the queues. We are having 4 queues in IBM WebSphere MQ and inside them there are messages.</p>
  
  <p>I want to write a jsp to read the queue names and their depth while running the report.
  How do I do that?</p>