Apache ActiveMQ Artemis 使用教程
2024-09-02 21:31:32作者:袁立春Spencer
1. 项目的目录结构及介绍
Apache ActiveMQ Artemis 的目录结构如下:
activemq-artemis/
├── artemis-boot
├── artemis-cli
├── artemis-commons
├── artemis-core-client
├── artemis-dto
├── artemis-features
├── artemis-jms-client
├── artemis-jms-server
├── artemis-journal
├── artemis-protocols
├── artemis-rest
├── artemis-selector
├── artemis-server
├── artemis-service-extensions
├── artemis-spi
├── artemis-spring-integration
├── artemis-tools
├── artemis-web
├── artemis-website
├── bin
├── docs
├── examples
├── legal
├── licenses
├── pom.xml
├── README.md
└── tests
主要目录介绍:
artemis-boot: 包含启动 ActiveMQ Artemis 所需的脚本和配置。artemis-cli: 包含命令行工具,用于管理和配置 ActiveMQ Artemis。artemis-server: 核心服务器模块,包含消息服务器的实现。bin: 包含启动和管理 ActiveMQ Artemis 的脚本。docs: 包含项目的文档。examples: 包含各种使用示例。pom.xml: Maven 项目配置文件。
2. 项目的启动文件介绍
ActiveMQ Artemis 的启动文件主要位于 bin 目录下,包括:
artemis: 主启动脚本,用于启动和管理 ActiveMQ Artemis 实例。artemis-service: 用于将 ActiveMQ Artemis 作为服务运行的脚本。
启动步骤:
- 进入
bin目录:cd activemq-artemis/bin - 启动 ActiveMQ Artemis:
./artemis run
3. 项目的配置文件介绍
ActiveMQ Artemis 的配置文件主要位于 etc 目录下,包括:
broker.xml: 主配置文件,包含消息服务器的各种配置,如连接器、地址、队列等。bootstrap.xml: 引导配置文件,用于加载其他配置文件。logging.properties: 日志配置文件,用于配置日志输出。
主要配置项:
-
broker.xml:<broker xmlns="http://activemq.org/schema"> <connectors> <connector name="netty-connector">tcp://0.0.0.0:61616</connector> </connectors> <addresses> <address name="exampleQueue" type="queue"/> </addresses> </broker> -
logging.properties:handlers=java.util.logging.FileHandler, java.util.logging.ConsoleHandler java.util.logging.FileHandler.pattern=activemq.log java.util.logging.FileHandler.limit=50000 java.util.logging.FileHandler.count=1 java.util.logging.FileHandler.formatter=java.util.logging.SimpleFormatter java.util.logging.ConsoleHandler.level=INFO java.util.logging.ConsoleHandler.formatter=java.util.logging.SimpleFormatter
通过以上配置文件,可以对 ActiveMQ Artemis 进行详细的配置和管理。
登录后查看全文
热门项目推荐
相关项目推荐
atomcodeClaude Code 的开源替代方案。连接任意大模型,编辑代码,运行命令,自动验证 — 全自动执行。用 Rust 构建,极致性能。 | An open-source alternative to Claude Code. Connect any LLM, edit code, run commands, and verify changes — autonomously. Built in Rust for speed. Get StartedJavaScript094- DDeepSeek-V4-ProDeepSeek-V4-Pro(总参数 1.6 万亿,激活 49B)面向复杂推理和高级编程任务,在代码竞赛、数学推理、Agent 工作流等场景表现优异,性能接近国际前沿闭源模型。Python00
MiMo-V2.5-ProMiMo-V2.5-Pro作为旗舰模型,擅⻓处理复杂Agent任务,单次任务可完成近千次⼯具调⽤与⼗余轮上 下⽂压缩。Python00
GLM-5.1GLM-5.1是智谱迄今最智能的旗舰模型,也是目前全球最强的开源模型。GLM-5.1大大提高了代码能力,在完成长程任务方面提升尤为显著。和此前分钟级交互的模型不同,它能够在一次任务中独立、持续工作超过8小时,期间自主规划、执行、自我进化,最终交付完整的工程级成果。Jinja00
Kimi-K2.6Kimi K2.6 是一款开源的原生多模态智能体模型,在长程编码、编码驱动设计、主动自主执行以及群体任务编排等实用能力方面实现了显著提升。Python00
MiniMax-M2.7MiniMax-M2.7 是我们首个深度参与自身进化过程的模型。M2.7 具备构建复杂智能体应用框架的能力,能够借助智能体团队、复杂技能以及动态工具搜索,完成高度精细的生产力任务。Python00
项目优选
收起
暂无描述
Dockerfile
700
4.5 K
Ascend Extension for PyTorch
Python
563
691
Claude Code 的开源替代方案。连接任意大模型,编辑代码,运行命令,自动验证 — 全自动执行。用 Rust 构建,极致性能。 | An open-source alternative to Claude Code. Connect any LLM, edit code, run commands, and verify changes — autonomously. Built in Rust for speed.
Get Started
JavaScript
521
93
本项目是CANN提供的数学类基础计算算子库,实现网络在NPU上加速计算。
C++
956
951
openEuler内核是openEuler操作系统的核心,既是系统性能与稳定性的基石,也是连接处理器、设备与服务的桥梁。
C
411
338
🎉 (RuoYi)官方仓库 基于SpringBoot,Spring Security,JWT,Vue3 & Vite、Element Plus 的前后端分离权限管理系统
Vue
1.6 K
939
Oohos_react_native
React Native鸿蒙化仓库
C++
340
387
AscendNPU-IR是基于MLIR(Multi-Level Intermediate Representation)构建的,面向昇腾亲和算子编译时使用的中间表示,提供昇腾完备表达能力,通过编译优化提升昇腾AI处理器计算效率,支持通过生态框架使能昇腾AI处理器与深度调优
C++
128
209
昇腾LLM分布式训练框架
Python
148
176
华为昇腾面向大规模分布式训练的多模态大模型套件,支撑多模态生成、多模态理解。
Python
140
221