Using RabbitMQ in A Symfony Application Through Messenger Component

İbrahim Gündüz
Webtips
Published in
4 min readApr 27, 2020

--

As you know, message-based asynchronous flows are a significant part of the web applications that allow scaling backend processes. You can move all the long time processes to asynchronous flow and make your user interface faster as much as you could.

Today, we’re gonna see how to use RabbitMQ with Symfony through Messenger component with a simple use case.
I strongly recommend to check out the following document in order to understand the message bus concept and the fundamentals of each component in Messenger:

I’m gonna try to keep the example very simple as much as I could and won’t dive into environment preparation details here. You can see the full example and the setup details from the following Git repository:

--

--