测试Rabbitmq确认/否定响应

I would like to test my Rabbitmq implementation. I have a queue and consumer, and I would like to have a third element which listens/sniffs the queue response, so the test will fail in case of queue responds nack or pass in case of it is ack.

Do you know how I could do it?

Many thanks

You should try out the tracing plugin. Note that this plugin should never be used in production due to the performance overhead it incurs.


NOTE: the RabbitMQ team monitors the rabbitmq-users mailing list and only sometimes answers questions on StackOverflow.