I have a running app that defines some spring integration flows with inbound/outbound gateways, splitters, aggregators,routers and etc...
These flows are all created using spring integration dsl and annotations... so no XML's.
There is any tool out there that can generate the EE patterns diagrams for it?
This question states that Intellij can do it for xml configurations... I want something similar that works with dsl IntegrationFlow's
The Java DSL for Spring Integration is essentially a facade for Spring Integration. The DSL provides a simple way to embed Spring Integration Message Flows into your application by using the fluent Builder pattern together with existing Java configuration from Spring Framework and Spring Integration.
Spring Integration enables lightweight messaging within Spring-based applications and supports integration with external systems via declarative adapters. Those adapters provide a higher-level of abstraction over Spring's support for remoting, messaging, and scheduling.
Spring Flo is a JavaScript library that offers a basic embeddable HTML5 visual builder for pipelines and simple graphs. This library is used as the basis of the stream builder in Spring Cloud Data Flow.
There is Spring Flo project and based on its foundation we have expose the IntegrationGraphController
with the Graph
tree to represent integration flows as JSON. That model can be used to visualize realtime of your application.
In addition we have a sample application with the mentioned functionality.
EDIT
The spring-flo project is in the process of being migrated to angular 4/5.
To build and run the viewer:
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
In a browser go to http://localhost:8082 and enter the URL for your app that has the integration graph enabled; click Load
.
Enabling the graph endpoint is documented here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With