How to delete a specific message from RabbitMQ Queue ?

Recently I was looking for a way to delete a specific message from a RabbitMQ. After reading some threads online How to selectively delete messages from an AMQP (RabbitMQ) queue?, How to remove specific message from queue in rabbitmq, RabbitMQ: Is it possible to remove a message…