[rabbitmq-discuss] Competing Consumers and Transactional Clients Patterns from Enterprise Integration Patterns

Alvaro Videla videlalvaro at gmail.com
Thu Jan 9 16:27:19 GMT 2014


Hi,

On Thu, Jan 9, 2014 at 4:37 PM, Jonathan Thoms <jonathan.thoms at gmail.com> wrote:
> Really what I'm trying to do is have multiple clients get tasks off of the
> queue and have them commit the completion of the task to the queue as a
> means of popping it off permanently. By committing on completion, I'm trying
> to ensure that if a client crashes halfway through executing a task, the
> queue doesn't lose the task.

If I understand you correctly, then what you need are message
acknowledgments, which are supported by RabbitMQ.

See: http://www.rabbitmq.com/tutorials/tutorial-two-python.html

Regards,

Alvaro


More information about the rabbitmq-discuss mailing list