[rabbitmq-discuss] queue architecture

Reefee sherifahmed at hotmail.com
Thu Oct 28 22:05:34 BST 2010


I am using the Java Client

I have a scenario where I'd like to get a message from a queue and do some
validations and decide if it needs processing , if not then put it back in
the queue for a later time.

Whats the best way to accomplish this.. Can I just get the message not and
not call baskcAck if I don't need to process it ? Not calling basicAck puts
the message back on teh queue after a while ?

Currently I have a working solution where I get the message, deserialize it
and then put the message back again into the queue. Is there a better way ?

-- 
View this message in context: http://old.nabble.com/queue-architecture-tp30079644p30079644.html
Sent from the RabbitMQ mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20101028/6573c4aa/attachment.htm>


More information about the rabbitmq-discuss mailing list