Java and MQSeries>> Develop a Message Queuing apllication
... able to see what is on the queues. You can use hermes for that. Hermes uses the std JMS API, as all good JMS code should, so hermes should work with any JMS implementation. I have used it with Joram and TIBCO-JMS. AFAIK, JMS ...
http://www.javakb.com/Uwe/Forum.aspx/java-programmer/40879