I have create a simple publisher and a consumer which subscribes on the queue using basic.consume.
My consumer acknowledges the messages when the job r
If you do not want to restart the consumer, then basic.recover AMQP command may be what you want. According to AMQP protocol:
basic.recover(bit requeue)
Redeliver unacknowledged messages.
This method asks the server to redeliver all unacknowledged messages on a specified channel.
Zero or more messages may be redelivered. This method replaces the asynchronous Recover.