chibenwa opened a new pull request #519:
URL: https://github.com/apache/james-project/pull/519


   ## Why?
   
   As described in JAMES-3605, RabbitMQ consumers can end up being stuck.
   
   In such a scenario we are not able to detect the failure and end up relying 
on cunsumer reports to restart James.
   
   We would like to have a health-check, allowing automatic testing about mail 
reception. (Both periodical logs and also a HTTP endpoint for integration with 
a monitoring system)...
   
   So a healthcheck no longer for a technical component but for a feature.
   
   
   ## How?
   
   In `healthcheck.properties` on could configure a user to run reception 
checks:
   
   ```
   [email protected]
   ```
   
   If configured, the healthcheck would then send a mail to the user, await the 
email via the eventbus, then retrieve its content.
   
   To be placed in a new `server/container/feature-checks` maven project.
   
   ## Definition of done
   
    - Given a paused RabbitMQ the check fails for the distributed server
    - Given a working James the check passes.
   
   ## Disclaimer
   
   The idea had been first expressed by @mbaechler years ago...


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to