jboss - How to configure ActiveMQ Artemis as a broker in JBoss 4?
问题描述
I configured a standalone ActiveMQ-5.16.1 to be used as a broker from a JBoss 4.2.3 server and my Camel-routes are able to get messages send from another component a ServerMix-Adaptor to this broker.
I replaced the standalone ActiveMQ-5.16.1 with an ActiveMQ Artemis-2.17.0 broker and besides few changes to the subscriptions the whole system is working.
I am aware that ActiveMQ 5.16.1 and ActiveMQ Artemis 2.17.0 are quite different, and I am trying to replace the activemq-rar-5.4.3.rar downloaded from here with the artemis-rar-2.17.0.rar downloaded from here. This .rar file is deployed under $JBOSS_HOME/server/default/deploy
together with an *-ds.xml
file.
In the *-ds.xml
file 2 connection factories are declared, one for for queues and one for topics. This file references a file contained in the activemq-rar-5.4.3.rar META-INF/ra.xml and in this file are defined the connection-factories.
The problem is that even though the artemis-rar-2.17.0.rar contains the same META-INF/ra.xml file it's not obvious and not documented what to configure and how to configure it.
I couldn't find an example or a documentation about this.
解决方案
推荐阅读
- vim - 为什么 SHIFT+V (VISUAL LINE) 不像 CTRL+V (VISUAL BLOCK) 那样插入多行?
- python - 计数输出
- r - 如何使用 usmap 包将状态变量转换为 FIPS 代码?
- api - YouTube 网络请求奇怪的行为
- java - 为什么由于以下 Java 代码,表中的数据会更新为 null?
- angular - 如何测试是否在 jasmin 中触发了 console.error
- dataframe - 如何导出 R 的示例数据集之一
- java - 如何向 CheckMenuItem 添加工具提示?
- sql - 使用 COALESCE 连接时,大于 9 的数字显示为星号 *
- javascript - div结束后停止水平滚动