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:
- Login and select the application you wish to integrate with AMQP.
- Click the Integrations tab.
- Click the New Integration Rule button.
- Choose Firehose.
- Choose AMQP.
- Configure the AMQP settings.
- Click Create.
You can also create an AMQP integration using the Control API.
Settings
The following settings are available when creating an AMQP integration:
Setting | Description |
---|---|
URL | Specifies the AMQP connection URL in the format amqps://username:[email protected]/vhost . |
Headers | Allows the inclusion of additional information in key-value format. |
Source | Specifies the event types being sent to AMQP. |
Channel filter | Filters the source channels based on a regular expression. |
Encoding | Specifies the encoding format of messages. Either JSON or MsgPack. |
Enveloped | Checkbox to set whether messages should be enveloped or not. Enveloped is the default. |
Routing key | Specifies the routing key used by the AMQP exchange to route messages to a physical queue. Supports interpolation. |
Exchange | An optional RabbitMQ exchange. Supports interpolation. |
Route mandatory | Messages are rejected if the route does not exist when set to true . Fails silently otherwise. |
Route persistent | Messages 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. |