什么是支持JDK 17和Spring 6的Jakarta的Apache activemq-broker jar的替代品?

huangapple go评论68阅读模式
英文:

What is the alternative for Apache activemq-broker jar which has support for Jakarta as in JDK 17 and Spring 6?

问题

我有一个基于Spring 5的应用程序,它使用Apache activemq客户端和broker库。我们现在正在迁移到要求使用JDK 17规定的Jakarta命名空间的Spring 6。但是,activemq-broker jar中没有Jakarta支持。5.18.1版本仅支持activemq-client的Jakarta。是否有支持Jakarta的broker库的替代方案?或者是否可以继续在Spring 6中使用apache activemq作为客户端和broker?

我认为唯一可能的选择是寻找一个完整的支持Jakarta的替代apache activemq库,其中包括客户端和broker的支持。

英文:

I have an application that is based on Spring 5 and it uses Apache activemq client and broker libraries. We are now migrating to Spring 6 which requires Jakarta namespaces as specified by JDK 17. But, there is no jakarta support in activemq-broker jar. The 5.18.1 release only supports jakarta for the activemq-client. Is there any alternative for the broker library that supports Jakarta? Or is it possible to continue using apache activemq for client and broker with Spring 6?

The only option that I think is possible is find an alternative for the entire apache activemq library that has support for jakarta in both client and broker

答案1

得分: 2

activemq-client-jakarta.jar 可用于连接 Jakarta-based 应用程序与运行 ActiveMQ 5.18.1 的远程 broker,完全没有导致 Jakarta-based ActiveMQ 客户端与 javax.jms-based ActiveMQ broker 不兼容的问题。

只有在你的应用程序或单元测试中使用了嵌入式 broker 时,才需要在 Spring 6 中使用 Jakarta-based broker。

Apache ActiveMQ 正计划支持 Jakarta 的 5.19.x 系列。截至此帖发布时,只需要进行一些小的清理工作,然后 PR 将被合并。

如果需要早期版本,可以从此 PR 构建一个 SNAPSHOT 版本,Jakarta-based ActiveMQ broker 可以正常工作。

参考链接:https://github.com/apache/activemq/pull/996

英文:

The activemq-client-jakarta.jar can be used to connect Jakarta-based applications to a remote broker running ActiveMQ 5.18.1 just fine. There is nothing over-the-wire that causes incompatibility between Jakarta-based ActiveMQ clients and javax.jms-based ActiveMQ broker.

The only time you need a Jakarta-based broker with Spring 6 is if you used embedded broker in your application or unit test.

Apache ActiveMQ is planning the 5.19.x series to support Jakarta. As of this post, there are only a few minor clean-ups needed before the PR will be merged.

If you need an early release, you can build a SNAPSHOT build from this PR and the Jakarta-based ActiveMQ broker works.

ref: https://github.com/apache/activemq/pull/996

huangapple
  • 本文由 发表于 2023年6月8日 01:14:12
  • 转载请务必保留本文链接:https://go.coder-hub.com/76425664.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定