I use rabbitmq. I created a queue and put 10 messages here.
I want to delete only specific one of 10 messages here. Is there a way to delete it?
I use rabbitmq. I created a queue and put 10 messages here.
I want to delete only specific one of 10 messages here. Is there a way to delete it?
No, there is no way to do that directly. Some alternatives are:
The rabbitmq API doesn't seem to support deleting a separate message, but only purging all of them: sudo rabbitmqctl purge_queue <queue name>
However, you can use tricks as written here How to delete a specific message from RabbitMQ Queue?
and here is his package rabbitmq-delete-message
if you are comfortable with node.js
© 2022 - 2024 — McMap. All rights reserved.