title: Getting MQ queue statistics in Java
body: <p>From my application I need to query some Websphere MQ per-queue statistics (last message get/put time, number of en/dequeued messages, current queue depth, number of connected clients).
  I managed to get the queue depth via PCFAgent, but I'm kind of stuck on the rest because the IBM documentation is rather confusing. </p>
  
  <p>Do you know any useful references (or code examples) that might help?</p>