Skip to content

Commit

Permalink
Fix mentioning of the deprecated ListenableFuture
Browse files Browse the repository at this point in the history
* Some rearranging fixes for `nav.adoc` and `appendix\previous-whats-new` dir
  • Loading branch information
artembilan committed Oct 30, 2024
1 parent 1f0a6d3 commit de60344
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 27 deletions.
3 changes: 0 additions & 3 deletions src/reference/antora/modules/ROOT/nav.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,11 @@
*** xref:appendix/previous-whats-new/changes-in-3-1-since-3-0.adoc[]
*** xref:appendix/previous-whats-new/changes-in-3-0-since-2-4.adoc[]
*** xref:appendix/previous-whats-new/changes-in-2-4-since-2-3.adoc[]
*** xref:appendix/previous-whats-new/message-converter-changes.adoc[]
*** xref:appendix/previous-whats-new/stream-support-changes.adoc[]
*** xref:appendix/previous-whats-new/changes-in-2-3-since-2-2.adoc[]
*** xref:appendix/previous-whats-new/changes-in-2-2-since-2-1.adoc[]
*** xref:appendix/previous-whats-new/changes-in-2-1-since-2-0.adoc[]
*** xref:appendix/previous-whats-new/changes-in-2-0-since-1-7.adoc[]
*** xref:appendix/previous-whats-new/changes-in-1-7-since-1-6.adoc[]
*** xref:appendix/previous-whats-new/earlier-releases.adoc[]
*** xref:appendix/previous-whats-new/changes-in-1-6-since-1-5.adoc[]
*** xref:appendix/previous-whats-new/changes-in-1-5-since-1-4.adoc[]
*** xref:appendix/previous-whats-new/changes-in-1-4-since-1-3.adoc[]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -290,8 +290,6 @@ Version 2.0 introduced variants of these methods (`convertSendAndReceiveAsType`)
You must configure the underlying `RabbitTemplate` with a `SmartMessageConverter`.
See xref:amqp/message-converters.adoc#json-complex[Converting From a `Message` With `RabbitTemplate`] for more information.

IMPORTANT: Starting with version 3.0, the `AsyncRabbitTemplate` methods now return `CompletableFuture` s instead of `ListenableFuture` s.

[[remoting]]
== Spring Remoting with AMQP

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,15 @@ See xref:amqp/broker-configuration.adoc#declarable-recovery[Recovering Auto-Dele

Support remoting using Spring Framework’s RMI support is deprecated and will be removed in 3.0. See Spring Remoting with AMQP for more information.

[[stream-support-changes]]
== Stream Support Changes

`RabbitStreamOperations` and `RabbitStreamTemplate` have been deprecated in favor of `RabbitStreamOperations2` and `RabbitStreamTemplate2` respectively; they return `CompletableFuture` instead of `ListenableFuture`.
See xref:stream.adoc[Using the RabbitMQ Stream Plugin] for more information.

[[message-converter-changes]]
== Message Converter Changes

The `Jackson2JsonMessageConverter` can now determine the charset from the `contentEncoding` header.
See xref:amqp/message-converters.adoc#json-message-converter[`Jackson2JsonMessageConverter`] for more information.

This file was deleted.

This file was deleted.

This file was deleted.

2 changes: 0 additions & 2 deletions src/reference/antora/modules/ROOT/pages/stream.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,6 @@ The `ProducerCustomizer` provides a mechanism to customize the producer before i

Refer to the {rabbitmq-stream-docs}[Java Client Documentation] about customizing the `Environment` and `Producer`.

IMPORTANT: Starting with version 3.0, the method return types are `CompletableFuture` instead of `ListenableFuture`.

[[receiving-messages]]
== Receiving Messages

Expand Down

0 comments on commit de60344

Please sign in to comment.