0

We have most of our application logic using typical Springboot components.

We are looking at using spring boot integration. The flow is to provision servie for end user. Typically we get a request and it has to orchestrate by calling a bunch of other services, with conditional branching and the end result is the user is provisioned.

What is the best way to implement this in Spring integration ? Is there any way to link them dynamically based on the output of the previous step ?

thank you

basu76
  • 441
  • 10
  • 19

1 Answers1

0

The AbstractMappingMessageRouter has a dynamic channels feature. So, you can route to whatever channel you want and it is really going to be tied at runtime: https://docs.spring.io/spring-integration/docs/5.0.9.RELEASE/reference/html/messaging-routing-chapter.html#dynamic-routers

Artem Bilan
  • 113,505
  • 11
  • 91
  • 118