[jboss-user] [JBoss Messaging] - Re: monitoring msg updates via queues

ssjboss do-not-reply at jboss.com
Thu May 1 03:54:28 EDT 2008


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



More information about the jboss-user mailing list