node-red-contrib-posixmq
v0.3.1
Published
A Node-RED node to interact with Posix message queues
Downloads
1
Maintainers
Readme
Description
This is a fork of Denis Francesconi's PosixMQ-read node for Node-RED. Uses Mike Okner's posix-mq library.
This version allows the user to both write to a POSIX message queue and read from a POSIX message queue.
Requirements
node.js -- tested against v8+
Linux 2.6.6+ or FreeBSD kernel with POSIX message queue support compiled in (
CONFIG_POSIX_MQUEUE
, which is enabled by default)See
man mq_overview
for how/where to modify global POSIX message queue resource limitsDepends on nan & posix-mq which will be automatically installed when running
npm install posixmq-read
.
Values
These settings are applicable to both the posixmq-read and posixmq-write nodes.
msgname - String - name of message queue.
maxmsgs - Number - The maximum number of messages in the queue.
msgsize - Number - The maximum size of messages in the queue.
create - Boolean - Create the message queue if it is not already present.