Moleculer RabbitMQ is a task queue mixin for Moleculer microservices, integrating RabbitMQ (AMQP) to offload synchronous actions to background queues. Version 1.1.x is current and stable; the package provides automatic generation of async action variants, supports configurable queue options (durability, prefetch, noAck), and offers two retry strategies: RabbitMQ requeue and delayed message exchange plugin. It requires a running RabbitMQ instance and the rabbitmq-delayed-message-exchange plugin for scheduled retries. Compared to other Moleculer queue plugins, it focuses on simplicity and direct AMQP integration without additional broker dependencies.
npm install moleculer-rabbitmq-extend-delayNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a Moleculer service with RabbitMQ queue mixin, defines a queued action, and calls its async variant.
Disable asyncActions and manually configure queue per action.
Set retry: false or install and configure the delayed message exchange plugin.
Upgrade to v1.1.0+ or check the changelog for migration.
Stay on Moleculer 0.14.x or test compatibility.
Run 'npm install moleculer-rabbitmq' and ensure require path is correct.
Use 'const QueueMixin = require('moleculer-rabbitmq');' then invoke as QueueMixin(opts).Start RabbitMQ or set AMQP_URL environment variable to correct URI.