Registry / messaging / node-red-contrib-simple-queue

node-red-contrib-simple-queue

JSON →
library1.1.0jsnpmunverified

A Node-RED custom node that provides a simple queue to limit the number of messages processed concurrently. Version 1.1.0 is the latest stable release; the project has low release cadence. It is a lightweight solution for throttling message flow in Node-RED without external dependencies, unlike full-fledged message brokers. The queue operates per node instance with configurable concurrency count. Proper handling of queue_msg_id on error is essential to avoid message loss.

npm install node-red-contrib-simple-queue
INSTALL
IMPORT
SIG · NODE-RED-CONTRIB-S
N
node-red-contrib-simple-queue
messagingjavascriptv1.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SimpleQueue node
Install via Node-RED palette: node-red-contrib-simple-queue
Node-RED nodes are not imported in JavaScript code; they are installed as npm packages and loaded by Node-RED.

Demonstrates adding a simple-queue node with concurrency count set to 2 in a Node-RED flow.

// No JavaScript code; use Node-RED editor to add a simple-queue node. // Example flow JSON (deploy to Node-RED): [{"id":"queue1","type":"simple-queue","z":"flow1","count":"2","x":400,"y":300,"wires":[["output1"]]}]
Debug
Known issues
gotchaOn error, messages may be lost if not caught and re-queued using queue_msg_id.
fix
Use a catch node to capture errors and a switch node on queue_msg_id property to re-inject into the queue.
affects: >=1.0
deprecatedNo known deprecations in current version.
affects: >=1.0
Errors
Common errors & fixes
Messages not being queued or processed
Incorrect wiring or configuration: count property may be set to 0 or wrongly typed.
fix
Ensure count is a positive integer (default 1). Re-deploy after editing node properties.
Upgrade
Version history
1.1.0latest on npm
Audit
Dependencies
node-redrequiredRequires Node-RED runtime to load the custom node
Agent activity
7 hits · last 30 days
node
6
OpenAI (training)
1
Resources
node-red-contrib-simple-queue — npm install node-red-contrib-simple-queue · libregistry