Symfony Messenger: Messages, Queues, Workers and more
summary
Symfony Messenger (Symfony 4.1) provides domain message classes with __invoke handlers, middleware chains, serialized transports configured via DSNs (AMQP/RabbitMQ, Doctrine DB, etc.), and a console messenger:consume worker to pull and dispatch messages. An example moves 50 notification sends that take ~1 minute synchronously into a queue, making them asynchronous and fast. It uses envelopes with stamps to carry infrastructure metadata, supports multiple buses, custom transports, and is experimental in 4.1 moving to stable API in 4.2.
AI-written summary · about
chapters (13)
- 0:00Introduction and speaker intro
- 3:14Core concepts of Messenger
- 5:00Simple message example
- 12:29Synchronous vs asynchronous
- 14:00Transport configuration
- 17:35Worker and message consumption
- 18:40Developer experience summary
- 19:00Multiple message buses
- 25:46Middleware explained
- 29:19Envelopes and their power
- 37:57Custom transports
- 39:24Future and call to action
- 40:06Q&A session
related talks
23mSymfony Messenger: Messages, Queues, Workers and more
41mSymfony Messenger: Queues, Workers and Much More!
02h 05mSymfony Messenger
44mAn Introduction to Symfony Messenger
43mAsync with Messenger, AMQP and Mercure
39mMastering message Queues
50mAn Introduction to the Symfony Messenger Component
50mSymfony Messenger: the sharpest tool in your PHP toolbox
