From ea16a02cee21da7387aa6b02935f24306da3aa30 Mon Sep 17 00:00:00 2001 From: Aslan Hsi Date: Mon, 10 Feb 2025 21:51:16 +0800 Subject: [PATCH] GH-2956: Fix doc for `RabbitAdmin` constants Cannot find the constants (QUEUE_NAME/QUEUE_MESSAGE_COUNT/QUEUE_CONSUMER_COUNT) in RabbitTemplate Fixes: #2956 Issue link: https://github.com/spring-projects/spring-amqp/issues/2956 Signed-off-by: Peter Xi Co-authored-by: Peter Xi **Auto-cherry-pick to `3.2.x`** --- .../antora/modules/ROOT/pages/amqp/broker-configuration.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reference/antora/modules/ROOT/pages/amqp/broker-configuration.adoc b/src/reference/antora/modules/ROOT/pages/amqp/broker-configuration.adoc index 1dbf6ac3..25fcc782 100644 --- a/src/reference/antora/modules/ROOT/pages/amqp/broker-configuration.adoc +++ b/src/reference/antora/modules/ROOT/pages/amqp/broker-configuration.adoc @@ -43,7 +43,7 @@ public interface AmqpAdmin { See also xref:amqp/template.adoc#scoped-operations[Scoped Operations]. The `getQueueProperties()` method returns some limited information about the queue (message count and consumer count). -The keys for the properties returned are available as constants in the `RabbitTemplate` (`QUEUE_NAME`, +The keys for the properties returned are available as constants in the `RabbitAdmin` (`QUEUE_NAME`, `QUEUE_MESSAGE_COUNT`, and `QUEUE_CONSUMER_COUNT`). The xref:amqp/management-rest-api.adoc#management-rest-api[RabbitMQ REST API] provides much more information in the `QueueInfo` object.