@sjaak - We have JMS example in our API archive. Please download the api and you can find the sample code for QueueBrowser here: sol-jms-10.10.0/samples/src/com/solacesystems/jms/samples/SolJMSQueueBrowser.java
sol-jms-10.10.0/samples/src/com/solacesystems/jms/samples/SolJMSQueueBrowser.java