title: Get queues depth from java code
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?
  Can anyone help in getting the full solution because I don't know what to do</p>