AMQP Requester

July 8, 2017 ยท View on GitHub

AMQP requester node toolbox

This is node is useful in order to create an AMQP requester for connecting to an AMQP container (i.e. broker, AMQP server, AMQP router, ...), sending a request on the specified address and waiting for the response on a dynamically created address (specified in the request "reply-to" property).

Configuration

The configuration allows to specify following parameters :

  • Endpoint : the AMQP endpoint configuration node which specifies the AMQP container to connect with this requester;
  • Address : the AMQP address as target for this requester node;
  • Name : name used to identify the node inside the Node-RED flow;

AMQP requester node

Input/Output

This node provides following input and output :

  • input : a "Node-RED" message with msg.payload = with a JSON format containing body and optional header, properties, application_properties and so on. This is the request to send;
  • output_1 : a "Node-RED" message with msg.delivery = with a JSON format containing information about delivery on sent message (i.e. "tag"). The other field is msg.deliveryStatus = with accepted, rejected, released and modified as possible values;
  • output_2 : a "Node-RED" message with msg.payload = with a JSON format containing body and optional header, properties, application_properties and so on. This is the response message. The other field is msg.delivery = with a JSON format containing information about delivery on received message (i.e. "tag");