How to tell Mautic to use RabbitMQ for queueing?

My Mautic version is: 5.1.0
My PHP version is: PHP Version 8.1.2-1ubuntu2.19
My Database type and version is: 10.6.18-MariaDB-0ubuntu0.22.04.1

With doctrine I can only send about 160 emails per minute, which is not enough. I installed and configured RabbitMQ on my server, but when I enter “RabbitMQ” in the Scheme field at Queue Settings, this error message appears:

Unsupported scheme. Please make sure the entered scheme matches one of the supported schemes. You might need to install a package supporting the scheme first. For more details see https://symfony.com/doc/5.4/messenger.html#transport-configuration

I’ve read that section at the Symfony docs which suggest that I would need to install amqp-messenger, but that would require me to mess with Mautic’s code, and I’m not sure if that is necessary considering that Mautic supposedly supports using RabbitMQ already.

What do I have to enter in that box?

Thank you :slight_smile:

Here’s the solution:

Scheme: ampq
Host: localhost
Port: 5672 (RabbitMQ default)
Path: /

To make this work, I had to install the package php-amqp.

By operating 10 systemd service workers running messenger:consume, I could increase the throughput to 1200 emails per minute. That’s on 4 vcpus and 16gb ram.