Category: symfony-messenger

Symfony 5 Messenger not auto configuring message handler

I am new to Symfony framework and am trying to set up a project with Messenger (https://symfony.com/doc/current/messenger.html). My understanding is after setting up the handler class with “implements MessageHandlerInterface” the handler should be available for use but it does not…

Restrict message handler to multiple buses with symfony messenger

As explained in the documentation of the Symfony messenger component, by default message handlers handle messages from all message buses. However, one can restrict a message handler to a specific bus like this: # config/services.yaml services: AppMessageHandlerSomeCommandHandler: tags: [{ name:…