使用rabbitmq实现作业队列

I have built a rabbitmq wrapper which publishes messages to consumers and this is working well.

Can I also build a work queue (like gearman) in rabbitmq which can distribute long running tasks to consumers and the consumers, in turn, notify the publisher with the results.

I guess this would require the publisher to act as a consumer as well which I am not sure how to implement. (Please correct me if I am wrong).

Or, is rabbitmq just not the tool for such case.

Thanks,

查看全部
doumor942473
doumor942473
2015/04/27 18:25
  • php
  • rabbitmq
  • 点赞
  • 收藏
  • 回答
    私信
满意答案
查看全部

1个回复