-
Notifications
You must be signed in to change notification settings - Fork 120
Open
Labels
Description
In order to provide a uniform mechanism for managing connection failures, it would be handy to have a connection manager abstraction that monitors the state of all connections (AMQP included) and can pause/unpause them as required. (We already do this sort of thing manually in the SMPP transport, but it's pretty transport-specific.)
The major benefit would be cleaner separation between the worker and AMQP connection (which we've been heading toward with previous refactorings) and easier management of any kind of persistent connection that a worker might need.
Additionally, standard mechanisms for tracking connection state would be useful for monitoring and health checks as well as making error handling easier.