I send a normal message through the manufacturer to RabbitMQ, and then send a second message with the expiration attribute assigned to the value. Then, using the rabbitmqctl list_queues , I track the status of the messages.
I found that if you first send a standard message, and then a message with expiration , then rabbitmqctl list_queues always shows me 2 messages waiting for a queue. When I use them, I get only one.
On the other hand, if I send only 1 message with expiration , at the beginning I see the message, and then after the correct expiration time, I find it deleted.
My question is that in the first situation the message actually takes up space? Or is it an interface error?
My version of rabbitMQ: rabbitmq-server.noarch -> 3.1.5-1.el6
source share