1 Star 0 Fork 1

寒松/camel-spring-boot-examples2

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
readme.adoc 959 Bytes
一键复制 编辑 原始数据 按行查看 历史
Claus Ibsen 提交于 2020-06-09 13:38 +08:00 . health check

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!

Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/qqzahng/camel-spring-boot-examples2.git
git@gitee.com:qqzahng/camel-spring-boot-examples2.git
qqzahng
camel-spring-boot-examples2
camel-spring-boot-examples2
camel-3.4.x

搜索帮助