rabbitmq-c
rabbitmq-c copied to clipboard
amqp_basic_nack requeue doesn't set redelivered flag
I'm having an issue with using amqp_basic_nack to requeue messages. When I set the requeue argument to 1, it does redeliver the message to the queue, but when I eventually consume it again, the envelope's redelivered flag is always 0. I'd expect this to be 1 if the message was previously NACKed and requeued. Am I missing something?
I also tried rejecting the message with requeue set to 1, but I'm experiencing the same issue with that too.
I need some additional information here:
- What version of rabbitmq-c are you using?
- What version of the RabbitMQ broker are you using?
- What client are you using to consume the messages (if different from rabbitmq-c)?
If you have a pared down example that demonstrates the issue, that would be helpful.