Node-RED node providing an in-memory message queue with trigger, peek, TTL, bypass, and queue count features. Current stable version v0.3.2. Released intermittently. Differentiates from other queue nodes by offering TTL-based message expiry, peek without removal, dynamic interval bypass, and a clear input hierarchy that prioritizes reset, queueCount, peek, bypassInterval, bypass, TTL, and trigger. Useful for building backpressure or buffering flows in Node-RED.
npm install node-red-contrib-simple-message-queueNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Example Node-RED flow JSON that creates a simple queue node and injects a message. The queue node stores messages and releases them on trigger or peek.
Send only one control property per message to avoid unexpected behavior. Refer to Input hierarchy documentation.
Interpret '_queueCount' as messages left excluding the triggered one.
Manually send a 'reset' message if you need to clear the queue when disabling bypass.
Ensure TTL is long enough for processing, or handle missing output gracefully.
Check msg._isPeek in downstream nodes if you need to differentiate.
Do not attach a debug node directly after a reset; instead, use a separate path or check for msg.reset in a function node before queuing.
Set msg.trigger = true (or any truthy value) to release the next queued message.
No dependency data recorded yet.