This example shows how you can query some of Spring Boot Actuator options from your Camel routes.
You need to enable the HTTP routes on Actuator to be able to use them. For example, in this example we have to expose the metrics, mappings and shutdown routes.
management.endpoints.web.exposure.include=mappings,metrics,shutdown
You can see other functionalities and more details in Actuator’s documentation.
Shutdown should be handled with care for security reasons. You will need to explicitly enable that endpoint for it to be usable.
management.endpoint.shutdown.enabled=true
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!