[rabbitmq-discuss] Rejecting and requeuing a message to postpone it

fourat fourat at gmail.com
Thu Sep 20 00:36:32 BST 2012


Hi,

When consuming messages from a queue, it is necessary to reject some
messages because an action cannot take place for the moment (service down or
whatever ...), this can be done through basic.reject(requeue=True) but when
the queue is allmost empty (having the unique message i have already
rejected), the broker push that message hundreds of times per second to my
consumer which keeps rejecting/requeuing it, and that's would kill my
consumer.

Is there any possibility to not to have this behaviour, the ideal way is to
schedule the delivery in future time, but i didnt find any way to do it ...

How would you resolve such an issue ?



--
View this message in context: http://rabbitmq.1065348.n5.nabble.com/Rejecting-and-requeuing-a-message-to-postpone-it-tp22078.html
Sent from the RabbitMQ mailing list archive at Nabble.com.


More information about the rabbitmq-discuss mailing list