# How to tell Mautic to use RabbitMQ for queueing?

**URL:** https://forum.mautic.org/t/how-to-tell-mautic-to-use-rabbitmq-for-queueing/34193
**Category:** Product Support
**Created:** [November 21, 2024, 10:52pm UTC](https://forum.mautic.org/t/how-to-tell-mautic-to-use-rabbitmq-for-queueing/34193 "2024-11-21T22:52:49Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![fisch](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/fisch/32/12946_2.png) [@fisch](https://forum.mautic.org/u/fisch)
#### Post date: [November 21, 2024, 10:52pm UTC](https://forum.mautic.org/t/how-to-tell-mautic-to-use-rabbitmq-for-queueing/34193/1 "2024-11-21T22:52:49Z")

</div>

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 🙂

---

<div class="post-metadata">

### Author: ![fisch](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/fisch/32/12946_2.png) [@fisch](https://forum.mautic.org/u/fisch)
#### Post date: [November 22, 2024, 9:27am UTC](https://forum.mautic.org/t/how-to-tell-mautic-to-use-rabbitmq-for-queueing/34193/2 "2024-11-22T09:27:51Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/1X/43c63600fe51440378769136903f1fa2a9a34102.png) [@system](https://forum.mautic.org/u/system)
#### Post date: [November 23, 2024, 9:28pm UTC](https://forum.mautic.org/t/how-to-tell-mautic-to-use-rabbitmq-for-queueing/34193/3 "2024-11-23T21:28:12Z")

</div>

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.
