Skip to content

Latest commit

 

History

History
43 lines (27 loc) · 1001 Bytes

File metadata and controls

43 lines (27 loc) · 1001 Bytes

Camel Health Checks - Spring Boot example

Abstract

An example on how to work with health checks ib a simple Apache Camel application using Spring Boot

Introduction

Note
Some routes fail intentionally to have health check monitor their failures

How to run

mvn compile spring-boot:run

Health Check

You can query the health check of the application using Spring Boot actuator:

$ http://localhost:8080/actuator/health

The returned response should include the health checks from Apache Camel, and as well two custom checks.

JMX Management

You can from JMX see the health-check status in the Camel tree under health and find the DefaultHealthCheck MBean.

Help and contributions

If you hit any problem using Camel or have some feedback, then please let us know.

We also love contributors, so get involved :-)

The Camel riders!