--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Properties properties = rabbitAdmin.getQueueProperties(queueName);
if (properties != null) {
Integer nMessages = Integer.valueOf(properties.get(RabbitAdmin.QUEUE_MESSAGE_COUNT).toString());
LOGGER.debug("Queue {} properties: nMessages={}", queueName, nMessages);
}
Where do you observe this count?If it's queue.declare-ok responses, nothing has changed there in years. HTTP API hada major revamp in 3.6.7 so something could have changed there but no one has reported this to date.It could also be a change in Spring.
On Tue, Jul 18, 2017 at 5:18 PM, <optapla...@gmail.com> wrote:
Hello!I have a problem with queue message count.I'm using the Spring Rabbit cots to get the number of messages in a RabbitMQ queue.In version 3.6.2 of RabbitMQ, the message count result was messages ready + messages unacknowledged.And in version 3.6.10, it seems that the messages count is only messages ready.I didn't see anything related in the release notes.Can you please help me understand what has changed?Thanks in advance,SR
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.