AMQP rule

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

Creating a AMQP rule

There are two ways to create a AMQP rule:

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

Creating a AMQP rule in the dashboard

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

3. Click the + New Integration Rule button.
4. Choose Firehose.
5. Choose AMQP.

Choose amqp

6. 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

7. Click Create to create the rule.

Creating a AMQP rule using Control API

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.

See also

Need help?

If you need any help with your implementation or if you have encountered any problems, do get in touch. You can also quickly find answers from our knowledge base, and blog.