AMQP rule

You can use a AMQP rule to send data such as messages, occupancy, lifecycle and presence events from Ably to AMQP.

There are two ways to create a AMQP rule:

  1. Using the Ably Dashboard.
  2. Using the Control API.

To create a rule in your dashboard:

  1. Login and select the application you wish to integrate with AMQP.
  2. Click the Integrations tab.

Integrations tab

  1. Click the + New Integration Rule button.
  2. Choose Firehose.
  3. Choose AMQP.

Choose amqp

  1. Configure the settings applicable to your use case and your AMQP installation.

Header and authentication settings:

amqp rule settings - header and auth

The general settings:

amqp rule settings - general

The AMQP-specific settings:

amqp rule settings - amqp-specific

  1. Click Create to create the rule.

See some examples of creating rules in the rules section of the Control API documentation. You can also refer to the rule section of the Control API Reference for information on creating a AMQP rule. You will need to select a ruleType of amqp.

Creating a AMQP rule