[rabbitmq-discuss] Sematics of ACK/REQUEUE/DISCARD on a message
Andreas Jung
lists at zopyx.com
Thu May 6 06:09:42 BST 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Matthew Sackman wrote:
> On Wed, May 05, 2010 at 07:51:35PM +0200, Andreas Jung wrote:
>> Two questions:
>>
>> - - assuming a consumer could process a message with success - what is
>> the difference in the message handling inside the queue between
>> acknowledging it or discarding it - it will be removed from the queue
>> in both cases?!
>
> If you don't ack it, it will be retained by RabbitMQ and will be
> redelivered to some other consumer eventually when your current
> consumer cancels/dies.
Got it. Since the consumer is called through a call-back it will get the
same message again (after restarting and if it is the only consumer) if
the consumer dies without ack-ing the message.
Andreas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkviTxYACgkQCJIWIbr9KYyQvQCfYwJcJG6nKetDvM1AWaZp8ih8
n/IAn0cJJpqZu5XsaVjG6fb8odksiGov
=WkPT
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lists.vcf
Type: text/x-vcard
Size: 316 bytes
Desc: not available
Url : http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20100506/be787a40/attachment-0001.vcf
More information about the rabbitmq-discuss
mailing list