AMQP

App · 1 action

Send messages to, and start workflows from, any broker that speaks AMQP 1.0: ActiveMQ, Amazon MQ, Azure Service Bus, Solace, IBM MQ, Apache Qpid and RabbitMQ 4. Put a message on a queue or topic, or run a workflow for each message that arrives in a queue.

Send a message

Put a message on a queue or topic and wait for the broker to accept it. Send text, or an object from an earlier step, which is sent as JSON. Whatever reads that queue or topic picks it up.

Inputs

Queue or topicaddresstextRequired
Where the message goes: the name of a queue (each message is picked up once) or a topic (every subscriber gets a copy), as the broker knows it, such as orders. For Azure Service Bus, the queue or topic's name.
MessagemessagetextRequired
What to send: text, or an object or list from an earlier step, which is sent as JSON. Up to 1 MB.
Subjectsubjecttext
A short label receivers can sort or filter on, such as order.created. Leave empty if they don't use one.
Propertiespropertiesobject
Extra names and values sent alongside the message, which receivers can filter or route on, such as {"region": "eu", "priority": 2}. Leave empty if they don't use any.

Outputs

The message the broker accepted.

acceptedtrue/false
True: the broker accepted the message. A message it refuses stops the workflow with its reason.
addresstext
The queue or topic it was sent to.
content_typetext
How the message was sent: text/plain for text, application/json for an object or list.
message_idtext
The id given to the message, which receivers see as its message id.
Example output
{
  "accepted": true,
  "address": "orders",
  "content_type": "application/json",
  "message_id": "6f1c2a4e-8b3d-4f7a-9c21-5d0e8a7b3c19"
}

On this page