[rabbitmq-discuss] Notify when "Worker" die
Roman Khomenko
spirt40 at gmail.com
Thu Sep 1 19:31:26 BST 2011
I developed Work Queues like in tutorial. But I don't need to rerun task.
Now my worker:
- get TASK and TASK_ID
- if TASK_ID in MemCache:
write to DB: TASK FAIL
basic_ack
- else:
write MemCache TASK_ID
DO_TASK
basic_ack
I think it's now beautiful method. Can I get "TRY COUNT" from message?
Or can RabbitMQ send this task to another queue if first Task run died?
Thanks!
-------------
Best regards, Roman Khomenko
http://tutamc.com
More information about the rabbitmq-discuss
mailing list