Forum Post: RE: Possible to consume all messages off of a sonicmq queue in one go?

Status
Not open for further replies.
P

Paul Connaughton

Guest
What I am seeing is that if I do anything time consuming in the message consumer, like a PAUSE(5) statement, the results are unpredictable in terms of how many messages are received before the waitForMessages returns. However, if I do not do anything in the message consumer, it seems to consume all of the messages every time. While what Bill is saying is true, if your messages are not too large and/or you can off-load your consumer logic, you should be able to get the behavior you are looking for.

Continue reading...
 
Status
Not open for further replies.
Top