How to start Symfony messenger consume on App Platform

Hello, I deployed a Symfony application on App Platform and I would like to use the messenger system for sending mail asynchronously. To do this, I have to launch a command inside the “server” and that it restarts during a crash. Has anyone done this before? Thanks in advance. Julien

Submit an answer
Answer a question...

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Bobby Iliev
Site Moderator
Site Moderator badge
April 21, 2022


What you could do is use a Worker component:

This allows you to run background processes and you can just specify your command in there.

Let me know how it goes!



Hi @contactSnorkler,

I haven’t worked with Symfony messages, but I think Messenger: Sync & Queued Message Handling section helps you to know limit consuming, async/queued and dispatching messages, as well as minimum requirements.

To learn more about it, you could read the Messenger component docs.

I hope this information helps you,

Sergio Turpín