本文介绍了如何将 WildFly 10.1.0Final Apache Artemis 1.1.0 更新到 Apache Artemis 1.3的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了 WildFly 10.1.0.Final 我在 Javascript 中创建了一个 Stomp over Websocket 客户端以直接连接到 Artemis 中的主题.

我订阅了两个客户端,但是当我关闭或取消订阅这两个客户端之一时,其他客户端会发现收到消息.

我发现了一个邮件列表,其中描述了同样的问题.

以下是从官网下载并解压ActiveMQ 1.3后的文件:

解决方案

以下说明适用于更新到 Artemis 1.3.请注意,我也为 Artemis 1.5 尝试过此操作,但这不起作用....

1) 将 apache-artemis-1.3.0/bin/lib/* 复制到 wildfly-10.1.0.Final\modules\system\layers\base\org\apache\activemq\artemis\main\lib(替换现有的 *.so 文件)

2) 将 apache-artemis-1.3.0/lib 中的所有 Jars 复制到 wildfly-10.1.0.Final\modules\system\layers\base\org\apache\activemq\artemis 中对应的子目录.将所有文件复制到您找到具有相同名称但版本不同的 Jar 文件的位置.删除旧的 Jar 文件,并确保您还更改了相应 module.xml 中的版本号.

某些来自 apache-artemis-1.3.0/lib 的文件在 wildfly-10.1.0.Final\modules\system\layers\base\org\apache\activemq\artemis 中没有对应的文件.您可以忽略这些文件.

I have installed WildFly 10.1.0.Final I I created a Stomp over Websocket client to in Javascript to connect directly to a topic in Artemis.

I connect an subscrite two clients but when I close or unscribe one of the two clients, the others spot recive messages.

I found a mail-list that have exactly discribing the same problem.

http://activemq.2283324.n4.nabble.com/STOMP-server-quits-sending-to-all-subscribers-when-one-client-disconnects-td4713980.html

One user called "johndament" mention that the auto creation feature fixes this error (in v1.3). Then "Ed Kaltenbach" solve the problem updating the ActiveMQ artemimis version from v1.1.0 that is shipped with wildFly 10.1.0.Final to v1.3

Can helpme to update the version and recommendations?

These are the files after download and unzip ActiveMQ 1.3 from the official site:

解决方案

The following instructions work for updating to Artemis 1.3.Note that I also tried this for Artemis 1.5, this did NOT work....

1) copy apache-artemis-1.3.0/bin/lib/* to wildfly-10.1.0.Final\modules\system\layers\base\org\apache\activemq\artemis\main\lib (replace the existing *.so files)

2) copy all Jars from apache-artemis-1.3.0/lib to the corresponding subdirectory in wildfly-10.1.0.Final\modules\system\layers\base\org\apache\activemq\artemis. Copy all files to the location where you find a Jar file with the same name but different version. Remove the old Jar files, and make sure you also change the version numbers in the respective module.xml.

Some files from apache-artemis-1.3.0/lib don't have a corresponding file in wildfly-10.1.0.Final\modules\system\layers\base\org\apache\activemq\artemis. You can ignore these files.

这篇关于如何将 WildFly 10.1.0Final Apache Artemis 1.1.0 更新到 Apache Artemis 1.3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

05-21 17:51