“jms.queue/”和”jms.topic/”前缀的来源是什么?

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

Where comes prefix jms.queue/ jms.topic from?

问题

我将我的Java Spring Boot项目从Apache ActiveMQ迁移到Artemis。

我已将所有相关的类路径更改为artemis.jms.client,但不知何故,当我启动应用程序时,会创建带有以下前缀的主题:

jms.topic.VirtualTopic.name

我不知道这个jms.topic是从哪里来的。有人有任何想法吗?

英文:

I migrated my java spring-boot project from apache activemq to artemis.

I changed all relevant classpaths to artemis.jms.client, but somehow when I start the application, there will be topics with a prefix created like the following:

jms.topic.VirtualTopic.name

I just don't know where this jms.topic comes from. Does anyone have an idea?

答案1

得分: 1

ActiveMQ Artemis从头开始设计为多协议代理。JMS队列和主题通过分别使用前缀jms.queue.jms.topic.来区分来自其他API和协议的资源。然而,随着代理开始支持越来越多的协议,这种区分被认为不利于集成,而不是有助于集成。因此,在2017年初发布的2.0.0版本中删除了这些前缀。

您目前可能在使用一个相当旧的1.x版本(无论是代理还是客户端)。当前版本是2.14.0。我建议您升级到更新的版本。

英文:

ActiveMQ Artemis was designed from the ground up to be a multi-protocol broker. JMS queues and topics were differentiated from resources for other APIs and protocols by their use of the prefixes jms.queue. and jms.topic. respectively. However, as broker began to support more and more protocols this differentiation was identified as a hindrance to integration rather than an aid. Therefore in early 2017 with the release of version 2.0.0 the prefixes were removed.

You must be using a 1.x version (either of the broker or the client) which is quite old at this point. The current version is 2.14.0. I recommend you move to a more recent release.

huangapple
  • 本文由 发表于 2020年8月10日 17:34:24
  • 转载请务必保留本文链接:https://go.coder-hub.com/63337624.html
匿名

发表评论

匿名网友

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

确定