Orchestration design template
I have three java components - ComponentA,
ComponentB,
ComponentC
. I want to organize this component. There can be several combinations (but sequentially) when performing these components, for example. ComponentA,
→ ComponentB,
→ ComponentC
or ComponentA,
→ ComponentC
. What's the best pattern here? Each component has its own functionality and is independent of each other. I am looking at the Java mediator pattern but not sure if it fits well in this case.
source to share
If you are dealing with complex entities in your Components and specific Data_flow, you can try to implement the Pipeline_software logical model . This will give you great control over your process. To be more specific, I can recommend Pipes and filters for you (although with MSDN you can still use its design).
- Greetings
source to share
I would recommend below
orchestra-tor -> component1 -> returns to orchestra-tor orchestra-tor -> component2 -> returns to orchestra-tor orchestra-tor -> component3 -> returns to orchestra-tor
This way you can loop through the component or inject business logic through the components later
source to share