Symfony Messenger: Messages, Queues, Workers and more
summary
A new component called Symfony Messenger provides a message bus, serializers, transports and a worker so a Symfony 4.1 app can dispatch plain PHP message objects to a RabbitMQ transport, resume handling via a long‑running worker and apply middleware, retries and backoff. The demo wires a controller to a bus, routes messages to transports, runs the worker and shows web requests drop to about 200ms web request while background delivery uses envelopes and stamps and a retry mechanism.
AI-written summary · about
chapters (13)
- 0:00Intro
- 2:08What's Symfony Messenger about?
- 6:05As a component
- 7:21Dispatching a message
- 8:26A message handler
- 9:36Register your handlers loption 2
- 11:47ASYNCHRONOUS
- 12:10What's a transport?
- 13:39Configure your transport(s)
- 16:24Multiple buses?
- 17:26Envelopes
- 19:36Transports
- 21:02What can you do?
related talks
44mSymfony Messenger: Messages, Queues, Workers and more
41mSymfony Messenger: Queues, Workers and Much More!
02h 05mSymfony Messenger
44mAn Introduction to Symfony Messenger
50mAn Introduction to the Symfony Messenger Component
43mAsync with Messenger, AMQP and Mercure
50mSymfony Messenger: the sharpest tool in your PHP toolbox
44mMessaging Queues
