qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kim Garcia <jsma...@hotmail.com>
Subject getEnumeration() doesn't always return entire queue
Date Mon, 07 Mar 2011 17:56:24 GMT

I have a static ring queue which I am polling for messages. I created a QueueBrowser object
and use it to call getEnumeration() to get all of the messages on the queue. This is in a
while loop and I have it sleep for a short while in between iterations. Also I am using MRG
According to the JMS API getEnumeration() is supposed to return all of the messages currently
on the queue. I have found this not to be true. Sometimes it does return all of the messages
and other times it only returns the newest few hundred. It's random as to how much it returns.
I saw some statements online that there is a 200 message limit, but I have seen it return
several thousand at a time. Has anyone else seen this happen?
Thank you.
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message