Skip to content

Commit 684fac2

Browse files
committed
Fix docs for version 4.0
* Move existing `What's New` to the respective `changes-in-3-2-since-3-1.adoc` * Add entries for the current version into `What's New` * Start new `rabbitmq-amqp-client.adoc` chapter
1 parent 2cb65d5 commit 684fac2

File tree

4 files changed

+41
-11
lines changed

4 files changed

+41
-11
lines changed

src/reference/antora/modules/ROOT/nav.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
*** xref:amqp/multi-rabbit.adoc[]
5858
*** xref:amqp/debugging.adoc[]
5959
** xref:stream.adoc[]
60+
** xref:rabbitmq-amqp-client.adoc[]
6061
** xref:logging.adoc[]
6162
** xref:sample-apps.adoc[]
6263
** xref:testing.adoc[]
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
[[changes-in-3-2-since-3-1]]
2+
= Changes in 3.2 Since 3.1
3+
4+
[[spring-framework-6-2]]
5+
== Spring Framework 6.1
6+
7+
This version requires Spring Framework 6.2.
8+
9+
[[x32-consistent-hash-exchange]]
10+
== Consistent Hash Exchange
11+
12+
The convenient `ConsistentHashExchange` and respective `ExchangeBuilder.consistentHashExchange()` API has been introduced.
13+
14+
[[x32-retry-count-header]]
15+
== The `retry_count` header
16+
17+
The `retry_count` header should be used now instead of relying on server side increment for the `x-death.count` property.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[[amqp-client]]
2+
= RabbitMQ AMQP 1.0 Support
3+
4+
Version 4.0 introduces `spring-rabbitmq-client` module for https://www.rabbitmq.com/client-libraries/amqp-client-libraries[AMQP 1.0] protocol support on RabbitMQ.
5+
6+
This artifact is based on the {rabbitmq-github}/rabbitmq-amqp-java-client[com.rabbitmq.client:amqp-client] library and therefore can work only with RabbitMQ and its AMQP 1.0 protocol support.
7+
It cannot be used for any arbitrary AMQP 1.0 broker.
8+
For that purpose a https://qpid.apache.org/components/jms/index.html[JMS bridge] and respective {spring-framework-docs}/integration/jms.html[Spring JMS] integration is recommended so far.

src/reference/antora/modules/ROOT/pages/whats-new.adoc

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,24 @@
22
= What's New
33
:page-section-summary-toc: 1
44

5-
[[changes-in-3-2-since-3-1]]
6-
== Changes in 3.2 Since 3.1
5+
[[changes-in-4-2-since-3-2]]
6+
== Changes in 4.0 Since 3.2
77

8-
[[spring-framework-6-2]]
9-
=== Spring Framework 6.1
8+
[[spring-framework-7-0]]
9+
=== Spring Framework 7.0
1010

11-
This version requires Spring Framework 6.2.
11+
This version requires Spring Framework 7.0.
1212

13-
[[x32-consistent-hash-exchange]]
14-
=== Consistent Hash Exchange
13+
[[x40-null-away]]
14+
=== Null-safety
1515

16-
The convenient `ConsistentHashExchange` and respective `ExchangeBuilder.consistentHashExchange()` API has been introduced.
16+
As many other Spring portfolio projects, Spring AMQP has been migrated to https://jspecify.dev/docs/start-here[JSpecify] annotations to declare the nullness of API.
17+
The https://github.com/uber/NullAway[NullAway] Gradle plugin is used to check the consistency of null-safety declarations.
1718

18-
[[x32-retry-count-header]]
19-
=== The `retry_count` header
19+
[[x40-rabbitmq-amqp-client]]
20+
=== The `spring-rabbitmq-client` module
2021

21-
The `retry_count` header should be used now instead of relying on server side increment for the `x-death.count` property.
22+
The new `spring-rabbitmq-client` module (with same artifact name) is introduced.
23+
This is an implementation of AMQP 1.0 protocol specific to RabbitMQ since `4.0` and based on the `com.rabbitmq.client:amqp-client` library.
24+
25+
See xref:rabbitmq-amqp-client.adoc[] for more information.

0 commit comments

Comments
 (0)