[rabbitmq-discuss] how to consume one message at a time
Matthew Sackman
matthew at lshift.net
Tue Nov 17 10:29:56 GMT 2009
On Mon, Nov 16, 2009 at 08:59:35PM -0600, Scott Brooks wrote:
> I'm not sure what the .NET api looks like, but you want to do a basic get, rather then a basic subscribe.
>
> It will return a single message from the queue, and then when you call it again, you will get the next message(or null/something similar)
Yup, that'll work. Or set QoS to 1 and use subscribe and then you'll
only get the next msg when you ack the previous one.
Matthew
More information about the rabbitmq-discuss
mailing list