Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

amqp_basic_nack requeue doesn't set redelivered flag #762

Open
Cazra opened this issue Mar 3, 2023 · 2 comments
Open

amqp_basic_nack requeue doesn't set redelivered flag #762

Cazra opened this issue Mar 3, 2023 · 2 comments

Comments

@Cazra
Copy link

Cazra commented Mar 3, 2023

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?

@Cazra
Copy link
Author

Cazra commented Mar 3, 2023

I also tried rejecting the message with requeue set to 1, but I'm experiencing the same issue with that too.

@alanxz
Copy link
Owner

alanxz commented Apr 30, 2023

I need some additional information here:

  1. What version of rabbitmq-c are you using?
  2. What version of the RabbitMQ broker are you using?
  3. 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants