I'm currently using RabbitMQ (bunny) at VersionEye to import meta information about GitHub repos via the GitHub API. Depending on the number of the GitHub repos a task can take a view seconds up to a couple minutes. I create a new message/task like this:
queue.publish( msg, :persistent => true )
One of the workers will get the message and perform the work. The worker sets his status (RUNNING, DONE) in Memcached. That way I know when a task is done!
I would like to get rid of Memcached in that process. I would like to get a status to a msg from RabbitMQ. Something like this would be ideal:
status = queue.publish( msg, :persistent => true )
status = queue.status( msg )
Unfortunately I couldn't find anything like that in the RabbitMQ or Bunny docu. Does anybody know how to get the status of a message from RabbitMQ?