# ActiveMQNodeClient **Repository Path**: pxp/ActiveMQNodeClient ## Basic Information - **Project Name**: ActiveMQNodeClient - **Description**: 使用 Node.js 10 开发的 ActiveMQ 客户端示例 - **Primary Language**: JavaScript - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2018-10-07 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ActiveMQNodeClient ### 项目介绍 使用 Node.js 10 开发的 ActiveMQ 客户端示例 ### 开发注意事项 在执行 `yarn install` 安装完依赖项后,需要在 `node_modules` 目录中进行一些文件复制操作。原因是依赖项 `websocket` 使用了 native module,无法被正确打包合并到一个 JavaScript 文件中。 > `/node_modules/websocket/lib/BufferUtil.fallback.js` -> `/node_modules/websocket/build/Release/bufferutil.js` > `/node_modules/websocket/lib/Validation.fallback.js` -> `/node_modules/websocket/build/Release/validation.js` 如果需要打包成一个可执行文件,需要先执行 `yarn build` 生成 `app.js` 文件,然后执行 `yarn exefile` 生成 `app.exe` 文件。