connection.start();
//establish session
Queue queue = (Queue) context.lookup("request");
QueueSession session = connection.createQueueSession
(false, Session.AUTO_ACKNOWLEDGE);
QueueBrowser browser = session.createBrowser(queue);
Enumeration e = browser.getEnumeration();
while (e.hasMoreElements()) {
Message message = (Message)e.nextElement();
if(message instanceof MapMessage){