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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...