Search code examples
graphspring-integrationsts-springsourcetoolsuitegraph-visualization

STS & Spring Integration multiple xml files and merged Integration Graph


I am working on a project using spring integration. I am using XML because I like the visualization of integration flow using Integration-Graph in STS. But because of reusing components and reorganisation flows in subflows in separate xml files, I would like to have a merged view in the graph.

As I remember the Spring Bean Graph it was possible to select configuration files as package for visualisations.

Is there a functionality for Integration, too?


Solution

  • While that feature is not available in STS, we are working on a runtime visualization of a running Spring Integration application. Since 4.3, Spring Integration (when running in a web container or as a Spring Boot application with web support), can expose the runtime environment as JSON see documentation here.

    The spring-flo project has a sample (it's still a work-in-process) for visualizing the flow.

    The application used in the readme is the the file-split-ftp sample application. Notice the required CORS bean definition (which will be made simpler in the next release).