Skip to content

RabbitMQ

Mischa Braam edited this page Oct 23, 2024 · 8 revisions

Valet+ facilitates installing RabbitMQ with the following command.

valet-plus rabbitmq on

Disable RabbitMQ with the following command.

valet-plus rabbitmq off

After installation you can find configuration files at the following location.

/usr/local/etc/rabbitmq/rabbitmq-env.conf

You don't need to change any configuration, this is optional. If you don't, you can reach RabbitMQ's interface at http://localhost:15672/ with default username guest and password guest.

Manual installation

You don't require Valet+ to run RabbitMQ. You can install it yourself too with the following command (at time of writing).

brew install rabbitmq

Use RabbitMQ with Magento 2

If you use Magento 2 you can configure RabbitMQ in app/etc/env.php for queues as followed.

    'queue' => [
        'consumers_wait_for_messages' => 1,
        'amqp' => [
            'host' => '127.0.0.1',
            'port' => '5672',
            'user' => 'guest',
            'password' => 'guest',
            'virtualhost' => '/',
            'ssl' => ''
        ]
    ],
Clone this wiki locally