Gathering detailed insights and metrics for node-red-contrib-amqp-ack
Gathering detailed insights and metrics for node-red-contrib-amqp-ack
Gathering detailed insights and metrics for node-red-contrib-amqp-ack
Gathering detailed insights and metrics for node-red-contrib-amqp-ack
npm install node-red-contrib-amqp-ack
Typescript
Module System
Node Version
NPM Version
TypeScript (61.28%)
HTML (31.47%)
JavaScript (6.52%)
Dockerfile (0.54%)
Shell (0.19%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
6 Stars
68 Commits
4 Forks
2 Watchers
2 Branches
7 Contributors
Updated on Mar 09, 2024
Latest Version
1.1.2
Package Id
node-red-contrib-amqp-ack@1.1.2
Unpacked Size
46.89 kB
Size
10.30 kB
File Count
4
NPM Version
7.20.3
Node Version
16.6.1
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
node-red-contrib-amqp-ack
is a Node-RED package that connects directly to an AMQP server (e.g. RabbitMQ). It contains an input, an output and a configuration node to connect to AMQP exchanges or queues for Node-RED with ack control.
It uses the amqp-ts library for the AMQP connectivity.
Thanks to abreits for release node-red-contrib-amqp
If you have installed Node-RED as a global node.js package (you use the command node-red
anywhere to start it), you need to install
node-red-contrib-amqp-ack as a global package as well:
$[sudo] npm install -g node-red-contrib-amqp-ack
If you have installed the .zip or cloned your own copy of Node-RED from github, you can install it as a normal npm package inside the Node-RED project directory:
<path/to/node-red>$ npm install node-red-contrib-amqp-ack
The package contains the following Node-RED nodes:
Subscribes to an AMQP exchange or queue and reads messages from it. It outputs an object called
msg
containing the following fields:
msg.payload
is a string or an object containing the content of the AMQP message.msg.topic
is a string containing the routing-key of the AMQP message.msg.amqpMessage
is an amqp-ts Message
object containing the received message.sendtoIf a topic is defined in the input node definition, that will be sent as msg.topic
instead of the routing key.
In the settings you can only define the exchange type or queue and it's name. If you need to use an exchange or a queue with specific settings you can define the exchange or queue in the topology tab of the AMQP server configuration node. The input node will use the exchange or queue defined in the topology.
You can send to the node msg.readFrom
to received dynamically the name of the queue or exchange that will be read.
AMQP ack node. Return ack or nack for amqp in queue in the flow when finish the process.
Delivers incoming the message payload to the specified exchange or queue. It expects an object called
msg
containing the following fields:
msg.payload
: string or an object containing the content of the AMQP message to be sent.msg.topic
: string containing the routing-key of the AMQP message to be sent.msg.options
: object containing specific AMQP properties for the message to be sent, see the
amqplib publish documentation for more information.If a topic is defined in the output node definition, that will be sent as routing-key instead of the msg.topic
. If the msg.payload
field does not exist, the whole msg object will be sent.
In the settings you can only define the exchange type or queue and it's name. If you need to use an exchange or a queue with specific settings you can define the exchange or queue in the topology tab of the AMQP server configuration node. The output node will use the exchange or queue defined in the topology.
Defines the connection to the AMQP server. You can also define in more detail the exchanges and queues that are used in the input and output nodes and even define bindings between exchanges and queues in the topology tab.
In the topology tab you can define the AMQP server exchange and queue topology (exchanges, queues and bindings). You define the topology in the JSON editor.
Topology configuration example:
1{ 2 "exchanges": [ 3 {"name": "exchange1", "type": "direct", "options": {"durable": false}}, 4 {"name": "exchange2"} 5 ], 6 "queues": [ 7 {"name": "queue1", "options": {"messageTtl": 60000}}, 8 {"name": "queue2"} 9 ], 10 "bindings": [ 11 {"source": "exchange1", "queue": "queue1", "pattern": "debug", "args": {}}, 12 {"source": "exchange1", "exchange": "exchange2", "pattern": "error"}, 13 {"source": "exchange2", "queue": "queue2"} 14 ] 15};
Enable prefetch and limit the number of msg by consumer. Atention: The consumer get the msg it keeps unacked forever.
With prefetch enable, can enable timeout per msg in ms. After the timeout the msg get ACK.
We can use a node ACK for send the ACK when the process end, without set a fixed time. In this mode, is use a flow variable amqpobjectsacks to keep the tags for each msg, only one input node can use per flow.
If use msg.readFrom
in amqp in, ack node need a switch node for every queue name.
Use Credentials/Credentials fields descriptions changed to 'Use Local CA File' and 'CA File Location' with accompanying functional change:
The 'CA File Location' field no longer specifies an explicit certificate, but a local disk location to load
This is important as many certs have binary data in them, which is incompatible with a copy/paste in NodeRed GUI.
When a custom CA file location is not specified, an attempt is made to load the default system CA certificate
Currently default supports ubuntu and alpine.
Other distros should contribute their locations to this project as desired, but could still manually enter the location to be able to enjoy the functionality. If you were previously using non-system-default cert text in an AMQP node, this update would be a breaking change.
Some small GUI quality of life improvement to disable/enable TLS related fields when TLS enabled checkbox is exercised
bugfix, 'Enable secure connection' + 'Use Local CA File' checkbox drives whether to use the 'CA File Location' field;
before it would use the field even when the checkbox was unchecked
Library dependencies upgraded to address all non-low vulnerabilities. Remaining low vulnerability will require upgrading typescript and gulp-typescript, along with breaking updates.
Now you can access http://localhost:1880 and test the node-red-contrib-amqp-ack in nodered running in yout host.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
project is archived
Details
Reason
no SAST tool detected
Details
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
license file not detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More