[rabbitmq-discuss] Option for surviving connection failure feature suggestion
Jesper Louis Andersen
jesper.louis.andersen at gmail.com
Fri Jan 3 13:59:02 GMT 2014
On Thu, Dec 5, 2013 at 7:17 PM, Wayne Brantley <wayne.brantley at gmail.com>wrote:
> When processing long running messages, if the connection drops or gets
> interrupted - the message will be handed to another consumer.
> Meanwhile, the original consumer is still doing the work.
>
This depends on your implementation. In a sane implementaiton, you would
detect the connection drop and stop the work. A common trick is to run the
connection drop concurrently with the processing code and then have the
processing code periodically check a flag or something.
--
J.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140103/f8c8abc5/attachment.html>
More information about the rabbitmq-discuss
mailing list