QPID Proton-J 弃用了 Messenger - 但应该使用什么?

QPID Proton-J deprecates Messenger - but what to use instead?

我正在使用 Apache QPID Java 作为 AMQP 实现,我刚刚将 proton-j 升级到版本 0.16(自动,即使 Maven 网站仍然将 0.15 列为最新版本 -很奇怪),现在我对 Messenger API 的使用被标记为已弃用,并带有有用的消息:

Messenger will be removed from upcoming proton-j releases.

但是用什么代替呢?我没有看到任何其他高级消息传递 API 和 examples in the Proton source also still show Messenger as the high level messaging API 的候选者。

我看到还有一个叫做 Reactor 的东西(实际上不是新的)但它是低级别的 reactor pattern implementation and their message sending example assumes I'm going to handle message marshaling myself over (almost) raw sockets

对于需要高级消息传递的 Proton-J 用户,有希望吗API?

目前,Qpid 项目仍在评估基于 Java 的简单 AMQP 客户端的前进道路,该客户端与 proton-j 一起使用或作为自己的项目使用。不过还有其他一些选择:

您可以使用 Qpid JMS,它在幕后使用 Proton-J,这将为您提供一个使用 AMQP v1.0 并支持连接故障转移的 JMS 客户端。

另一种选择是vertx-proton that is part of Vert.x v3.2+ I believe. The maven repo for this is here