[ openjms-Bugs-746875 ] QueueBrowser fails to select messages

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.java.openjms.devel
Message-ID <[email protected]>
Bugs item #746875, was opened at 2003-06-01 04:28
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=746875&group_id=54559

Category: server
Group: v0.7.5
Status: Open
Resolution: None
Priority: 5
Submitted By: Tim Anderson (tanderson)
Assigned to: Tim Anderson (tanderson)
Summary: QueueBrowser fails to select messages

Initial Comment:
From [email protected] to the openjms-user 
list:

The following sample doesn't properly work if the 
number of messages in
queue exceeds 20.

QueueBrowser browser=qs.createBrowser
(qs.createQueue("edition"),
"JMSMessageID = '"+id+"'");
java.util.Enumeration listeMsg = 
browser.getEnumeration(); 
int i=0;
while (listeMsg.hasMoreElements()) {
 Message message = (Message)
listeMsg.nextElement(); 
  if (message != null) {
      System.out.print(i++);
      System.out.println("
'"+message.getJMSMessageID()+"'");
  } else {
      break;
  }
}
   


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=746875&group_id=54559
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.