A Node-RED node providing multiple, independently controlled message queues, each with pause/resume, flush, peek, drop, and other controls. Version 0.2.1 is stable. Designed as a more flexible alternative to single-queue nodes like node-red-contrib-queue-gate, it allows per-queue selection via msg.topic (or any property), dynamic queue creation/destruction, memory limiting, and support for 'keep newest' mode. Customizable control flags and command payloads make it adaptable to complex flow-control scenarios.
npm install node-red-contrib-multiple-queueNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates installation and basic usage of m-queue node in Node-RED, including queueing and control messages.
Explicitly set the Queue Selector property to a non-empty string or configure a different property in the node settings.
Use a dedicated boolean property for controlFlag (e.g., .control = true) that is not present on regular messages, or change the control flag property name in the node settings.
Always send command payload as a string in the expected case-insensitive form.
Set a reasonable queue limit or enable 'Keep newest messages' to avoid discarding old messages. Monitor queue status via the 'status' control message.
Before sending a command, check queue status via control message or note that only certain commands work while paused. Resume the queue before sending other commands.
Ensure every message has the Queue Selector property set, or change the node configuration to use a different property that is always defined.
Send a valid command string as payload (e.g., 'trigger', 'pause', 'flush') and ensure it matches one of the defined commands. Check spelling and case.
Ensure the queue name in the Queue Selector property matches the name of an active queue. Queues are created automatically when first message arrives, but can be deleted via 'delete' command.
Increase the queue limit, enable 'Keep newest messages' to keep newest instead of oldest, or add control to flush/trigger the queue before it fills up.