@frankvdb/node-red-contrib-amqp
v1.13.1
Published
RabbitMQ nodes for node-red
Readme
Node-RED Contrib AMQP
This repository provides a set of Node-RED nodes for interacting with RabbitMQ and other AMQP-compliant message brokers. It is a fork of @Stormpass/node-red-contrib-amqp, adapted to work with modern RabbitMQ features like Quorum Queues.
Features
- AMQP In: Consume messages from a queue.
- AMQP Out: Publish messages to an exchange.
- AMQP In Manual Ack: Consume messages with manual acknowledgment.
- Dynamic Virtual Host: Change the vhost at runtime for the
amqp-outnode by settingmsg.vhost.
Prerequisites
- Node.js 20 or newer
- Node-RED 4.0 or newer
Installation
You can install the nodes using the Node-RED Palette Manager or by running the following command in your Node-RED user directory (typically ~/.node-red):
npm install @frankvdb/node-red-contrib-amqpUsage
After installation, the following nodes will be available in your Node-RED editor:
amqp-inamqp-outamqp-in-manual-ackamqp-broker(configuration node)
For more detailed information, please see the Node Help section in the Node-RED editor.
Development
To contribute to the development of these nodes, please follow these steps:
Clone the repository:
git clone https://github.com/frankvdb7/node-red-contrib-amqp.git cd node-red-contrib-amqpInstall dependencies:
npm installBuild the project:
npm run build
Development Scripts
npm start: Watch for changes and automatically rebuild.npm run build: Compile the TypeScript source code.npm run lint: Format code and check for linting errors.npm test: Run the test suite.npm run test:cov: Generate a test coverage report.
Contributing
Contributions are welcome! Please open an issue or pull request to discuss any changes.
License
ISC
