Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 959 Bytes

File metadata and controls

39 lines (25 loc) · 959 Bytes

Camel Health Checks and Spring Boot

This example shows how to work with a simple Apache Camel application using Spring Boot.

Note
Some of the 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!