Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
src
README.md
pom.xml

README.md

btm-DropwizardHealthChecks-rabbitmq

Health check for RabbitMQ queue access.

Installation

Maven users can find dependency information here.

To install, simply include btm-DropwizardHealthChecks-net.jar and all parent dependencies described here. In addition, you need the following dependent libraries:

  • com.rabbitmq / amqp-client (version 4x or above)

RabbitMQHealthCheck

Example usage:

import guru.breakthemonolith.health.rabbitmq.RabbitMQHealthCheck;

RabbitMQHealthCheck healthCheck = new RabbitMQHealthCheck(myConnectionFactory, myQueueName);
myHealthCheckRegistry.register("myRabbitMqQueue", healthCheck);