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

Messages are not being removed from the queue #731

Open
carlosschroder-migrate opened this issue May 8, 2022 · 0 comments
Open

Messages are not being removed from the queue #731

carlosschroder-migrate opened this issue May 8, 2022 · 0 comments

Comments

@carlosschroder-migrate
Copy link

I created an app based on the code of the example "amqp_consumer.c". My app is getting the messages, but the
Rabbit server's web client indicates that messages are not being removed after reading. A reading is required
through the web client, menu "Get Messages", so that they are removed. My Rabbit MQ server is version RabbitMQ 3.6.2, Erlang 18.3, I use a structure
of virtual host, exchange and queue.
The basic consume I'm calling like this:
amqp_basic_consume(conn, 1, queuename, amqp_empty_bytes, 0, 1, 0, amqp_empty_table);
I've already tried setting the no_ack parameter to 0 and calling the method to explicitly send the ack
amqp_basic_ack(conn, envelope.channel, envelope.delivery_tag, 0);
unsuccessful in "cleaning" messages from the queue. What could be wrong?

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

1 participant