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

Status
Not open for further replies.
B

Bill Wood

Guest
You have to remember that messaging is intended to be asynchronous, disconnected and distributed. The clients cannot and do not know if there are messages anywhere in the network of brokers that "might" go to them. The client only sees what has been delivered to it, so you need to either play with PREFETCH or you need to wait. When you wait, you need to wait for the time you specify because there could be a message arriving. =

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