You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no `com.rabbitmq:http-client` (Hop) dependency anymore.
The `WebClient` is used internally in the project for tests.
Mention `WebClient` sample in the doc instead.
* Fix `broker-configuration.adoc` for the `RabbitAdmin.getQueueInfo()` API
Copy file name to clipboardExpand all lines: src/reference/antora/modules/ROOT/pages/amqp/management-rest-api.adoc
+27-2Lines changed: 27 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,32 @@ The `com.rabbitmq.http.client.Client` is a standard, immediate, and, therefore,
8
8
It is based on the {spring-framework-docs}/web.html[Spring Web] module and its `RestTemplate` implementation.
9
9
On the other hand, the `com.rabbitmq.http.client.ReactorNettyClient` is a reactive, non-blocking implementation based on the https://projectreactor.io/docs/netty/release/reference/docs/index.html[Reactor Netty] project.
10
10
11
-
The hop dependency (`com.rabbitmq:http-client`) is now also `optional`.
11
+
Also, the https://www.rabbitmq.com/docs/management#http-api-endpoints[management REST API] can be used with any HTTP client.
12
+
The next example demonstrates how to get a queue information using {spring-framework-docs}/web/webflux-webclient.html[WebClient]:
12
13
13
-
See their Javadoc for more information.
14
+
[source,java]
15
+
----
16
+
public Map<String, Object> queueInfo(String queueName) throws URISyntaxException {
0 commit comments