From eca6c8fd049c49c0446c6d2d71d22f572a07ab58 Mon Sep 17 00:00:00 2001 From: onobc Date: Sat, 16 Aug 2025 14:34:54 -0500 Subject: [PATCH] Update `whats-new.adoc` for Spring Retry replace with Core Retry See #1224 Signed-off-by: onobc --- .../src/main/antora/modules/ROOT/pages/whats-new.adoc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/spring-pulsar-docs/src/main/antora/modules/ROOT/pages/whats-new.adoc b/spring-pulsar-docs/src/main/antora/modules/ROOT/pages/whats-new.adoc index 3e6c62c8..bf1964ea 100644 --- a/spring-pulsar-docs/src/main/antora/modules/ROOT/pages/whats-new.adoc +++ b/spring-pulsar-docs/src/main/antora/modules/ROOT/pages/whats-new.adoc @@ -6,6 +6,16 @@ This section covers the changes made from version 1.2 to version 2.0. +=== Spring Retry replaced with Core Retry +All usages of Spring Retry have been replaced with a simpler retry mechanism recently introduced by Spring Framework. + +This is mostly an internal implementation detail used when restarting message containers. +This will only affect you if you were providing a custom `RetryTemplate` via a `PulsarContainerFactoryCustomizer` bean. + +The `RetryTemplate` class still exists in Core Retry but the package name has changed from `org.springframework.retry.support` to `org.springframework.core.retry` and the API has slightly changed. + +See the https://github.com/spring-projects/spring-pulsar/commit/fc4742f419fb882c7a045a742cae259f8ab45cc5[commit] for more details. + === Removals The following previously deprecated APIs, which were marked for removal in version 2.0.x, have now been removed: