Search code examples
spring-integrationmonitoringspring-boot-actuator

Monitoring of dynamic integration flows


I am building the pollers based on the data from the database. Mainly file pollers.

Does Spring integration provide any way to monitor the flows via the spring admin /actuator?

If yes, is there any example?


Solution

  • Well, need to understand what you mean with the monitor.

    There is an /integrationgraph since Spring Boot 2.1 endpoint to show all the integration components in the application context as a JSON graph. You have enable it explicitly though: https://docs.spring.io/spring-boot/docs/2.1.0.RELEASE/reference/htmlsingle/#production-ready-endpoints-exposing-endpoints.

    There is also an endpoint for metrics to obtain: https://docs.spring.io/spring-boot/docs/2.1.0.RELEASE/reference/htmlsingle/#production-ready-metrics-meter