[英]How to use azure-spring-cloud-stream-binder-servicebus-queue to accept messages without deprecated class Checkpointer
We use the java library azure-spring-cloud-stream-binder-servicebus-queue in version 2.11.0 to receive messages from an Azure service bus.我们使用版本 2.11.0 中的 java 库 azure-spring-cloud-stream-binder-servicebus-queue 来接收来自 Azure 服务总线的消息。 We have an implementation according to the recipe recommended at https://docs.microsoft.com/en-us/azure/developer/java/spring-framework/configure-spring-cloud-stream-binder-java-app-with-service-bus dating from 11/08/2021.
我们根据https://docs.microsoft.com/en-us/azure/developer/java/spring-framework/configure-spring-cloud-stream-binder-java-app-with-推荐的配方进行了实施服务巴士可追溯到 2021 年 11 月 8 日。 It works fine, but uses the deprecated class com.azure.spring.integration.core.api.Checkpointer.
It works fine, but uses the deprecated class com.azure.spring.integration.core.api.Checkpointer.
Is there a way to receive messages without using this deprecated class?有没有办法在不使用这个已弃用的 class 的情况下接收消息? Links to examples are welcome.
欢迎提供示例链接。
Same here.同样在这里。 I changed to the new version (4.0.0-beta.2) of the Spring Cloud Azure.
我更改为 Spring Cloud Azure 的新版本(4.0.0-beta.2)。
In this docs there are some examples/guides to migrate:在本文档中,有一些迁移示例/指南:
And a explanation about the versions:以及关于版本的解释:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.