Open Source Queuing Solutions for peek, mark as done and then remove

Posted by user330114 on Stack Overflow See other posts from Stack Overflow or by user330114
Published on 2010-04-30T21:59:22Z Indexed on 2010/04/30 22:07 UTC
Read the original article Hit count: 359

Filed under:
|
|
|

I am looking at open source queuing platforms that allow me do the following: I have multiple producers, multiple consumers putting data into a queue in a multithreaded environment with the specific use case: I want the ability for consumers to be able do the following

  1. Peek at a message from the queue(which should mark as the message as invisible on the queue so that other consumers cannot consume the same message)
  2. The consumer works on the message consumed and if it is able to do the work successfully, it marks the message as consumed which should permanently delete it from the queue.
  3. If the consumer dies abruptly after marking the message as consumed or fails to acknowledge successful consumption after a certain timeout, the message is made visible on the queue again so that another consumer can pick it up.

I've been looking at RabbitMQ, hornetQ, ActiveMQ but I'm not sure I can get this functionality out of the box, any recommendations on a system that gives me this functionality?

© Stack Overflow or respective owner

Related posts about queue

Related posts about activemq