Categories
PHP

Solution: Symfony message handler doesn’t complete

If your Symfony Messenger message handler doesn’t finish executing it is mostly due to an error or a memory shortage. Also make sure your routing is set up correctly.

Categories
PHP

Using a Symfony Console Command from within a Symfony Messenger MessengerHandler

Imagine having a console command you use for cron jobs. And you would like to use that command when handling queued messages from the Symfony Messenger.