please try this qbrowser = qsession.createBrowser(queue); Enumeration e = qbrowser.getEnumeration(); // gets list of messages.
while (e.hasMoreElements()) { // counter variable } ------- SS View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148061#4148061 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148061 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user