Skip to content

AMQP / RabbitMQ

Restorm implements AMQP 0-9-1, RabbitMQ’s protocol.

Right-click in the tree ▸ Add ▸ AMQP request.

An AMQP tab in Publish mode: the broker URL, the virtual host, the credentials, the exchange, the routing key and the JSON payload

FieldRole
URLamqp:// or amqps://
VhostThe virtual host; / by default
User / PasswordThe password accepts a Secret-typed value
Modepublish, subscribe or browse
FieldRole
ExchangeThe exchange’s name; an empty string means the default exchange
Routing keyThe routing key, which accepts {{variables}}
PayloadThe message’s body
FieldRole
QueueThe queue being consumed
Automatic acknowledgementEnabled by default; turn it off to observe redelivery behaviour
PrefetchThe maximum number of unacknowledged messages in flight

Inspects a queue’s content without consuming it: Restorm takes a bounded number of messages (50 by default) and puts them back.

This is the mode you want in order to answer “what is in this queue?” without disturbing the system. It is available in the request tab; unlike the other two modes, it has no dedicated scenario action.

AMQP connect (consumes the queue in subscribe mode and emits one event per message), AMQP publish (publishes to the request’s exchange and routing key) and AMQP close. See Connections and streams.

Eight targets: JavaScript (amqplib, for publishing, consuming and inspecting), Python (pika), amqp-publish and amqp-consume (amqp-tools), rabbitmqadmin.