Azure / Azure/azure-sdk-for-java

[FEATURE REQ] Upgrade deprecated API ListenableFutureCallback

Open
#43,101 3 comments 0 reactions 1 assignee Claimed by @rujche View on GitHub
azure-spring azure-spring-eventhubs azure-spring-servicebus Client feature-request
Dominant language
Java
Stars
2.6k
Forks
2.2k
Avg merge
2d 8h
Merged PRs (30d)
178

Description

**Is your feature request related to a problem? Please describe.**
The `ListenableFutureCallback` has been deprecated and marked as removal in Spring Boot 3.4.0. It will bring the break changes.

APIs that need upgrading:
- com.azure.spring.integration.core.handler.DefaultMessageHandler
- com.azure.spring.integration.core.implementation.instrumentation.InstrumentationSendCallback

**Describe the solution you'd like**
Use `CompletableFuture` instead.

**Describe alternatives you've considered**
N/A.

**Additional context**
N/A.

**Information Checklist**
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
- [x] Description Added
- [x] Expected solution specified

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.