I am sending a normal message through a producer to RabbitMQ and then I send a second message with the expiration
attribute assigned to a value. Then using the rabbitmqctl list_queues
command I monitor the status of the messages.
I found that if I send a normal message first and then a message with expiration
, the rabbitmqctl list_queues
is always showing me 2 messages pending on the queue. When I consume them, I get only one.
On the other hand if I send just 1 message with expiration
, in the beginning I see the message and then after the correct expiration time, I find it deleted.
My question is, on the first situation is actually the message taking space? Or it is an interface bug?
My rabbitMQ version is:
rabbitmq-server.noarch -> 3.1.5-1.el6