Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 586 Bytes

README.md

File metadata and controls

14 lines (10 loc) · 586 Bytes

RabbitMQ client extras

This is an extra module with some optional functionality.

compile 'com.avast.clients.rabbitmq:rabbitmq-client-extras_$scalaVersion:x.x.x'

HealthCheck

The library is not able to recover from all failures so it provides HealthCheck class that indicates if the application is OK or not - then it should be restarted. To use that class, simply pass the rabbitExceptionHandler field as listener when constructing the RabbitMQ classes. Then you can call getStatus method.