Event
Table of Contents
Classes
- BeforeMessengerDoctrineCloseEvent
- Dispatched by the DoctrineCloseConnectionMiddleware before a database connection
is closed after a worker handled a received message. Listeners may skip closing a
specific connection, for example when it should be kept open across messages.
- BeforeMessengerDoctrinePingEvent
- Dispatched by the DoctrinePingConnectionMiddleware before a database connection
is pinged (and transparently reconnected) ahead of a worker handling a received
message. Listeners may skip the ping for a specific connection, for example when
a connection must not be touched between messages.