有什么方法可以为 spring 集成 dsl 流程生成图表?

There's some way to generate diagrams for spring integration dsl flows?

我有一个 运行 应用程序,它定义了一些 spring 与 inbound/outbound 网关、分离器、聚合器、路由器等的集成流程...

这些流都是使用 spring 集成 dsl 和注释创建的...所以没有 XML。

有什么工具可以为它生成 EE 模式图吗?

This question 指出 Intellij 可以为 xml 配置做到这一点...我想要类似的东西与 dsl IntegrationFlow 的

一起工作

Spring Flo 项目,基于它的基础,我们公开了 IntegrationGraphControllerGraph 树,将集成流表示为 JSON。该模型可用于可视化您的应用程序的实时性。

此外,我们还有一个具有上述功能的 sample application

编辑

spring-flo 项目正在迁移到 angular 4/5。

构建和 运行 查看器:

git checkout angular-1.x
cd samples/spring-flo-si
mvn clean package
java -jar target/spring-flo-sample-si-0.0.1.BUILD-SNAPSHOT.jar

在浏览器中转到 http://localhost:8082 并为启用了集成图的应用输入 URL;单击 Load

启用图形端点是 documented here