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
I just tested this out and I am seeing different behavior with waitForMessage set to 0. Sometimes it picks up 1, sometimes 5, sometimes all. If I set the waitForMessages to 1 it always consumes all of the messages from the queue before stopping.

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