AMQP integration

AMQP integrations enable you to automatically forward events that occur in Ably to AMQP-compatible brokers.

Create an AMQP integration

To create an AMQP integration in your dashboard:

  1. Login and select the application you wish to integrate with AMQP.
  2. Click the Integrations tab.
  3. Click the New Integration Rule button.
  4. Choose Firehose.
  5. Choose AMQP.
  6. Configure the AMQP settings.
  7. Click Create.

You can also create an AMQP integration using the Control API.

Settings

The following settings are available when creating an AMQP integration:

SettingDescription
URLSpecifies the AMQP connection URL in the format amqps://username:[email protected]/vhost.
HeadersAllows the inclusion of additional information in key-value format.
SourceSpecifies the event types being sent to AMQP.
Channel filterFilters the source channels based on a regular expression.
EncodingSpecifies the encoding format of messages. Either JSON or MsgPack.
EnvelopedCheckbox to set whether messages should be enveloped or not. Enveloped is the default.
Routing keySpecifies the routing key used by the AMQP exchange to route messages to a physical queue. Supports interpolation.
ExchangeAn optional RabbitMQ exchange. Supports interpolation.
Route mandatoryMessages are rejected if the route does not exist when set to true. Fails silently otherwise.
Route persistentMessages are marked as persistent, instructing the broker to write them to disk if the queue is durable.
Optional TTL (minutes)Override the default queue time to live (TTL), in minutes, for messages to be persisted.