I want to implement spring integration for my current requirement. The requirement is as follows -
- I have a service and I need to call 3 services parallelly from it.
- All the 3 calls are independent calls.
- Out of the 3 calls 2 calls are HTTP calls(1 GET, 1 POST) and another is a native method call.
- Once I make a POST call to my service then internally the three services should be called parallelly.
- The request body that I'm using to do the POST call should be used as an input for the other 3 calls but I need to change the input JSONs as per need. The exact input I'm not going to be using for the other 3 services but I'll be modifying the input as per my need.
- In the end once I get the response from the 3 mentioned services then I'll use a method to aggregate the JSONs and will use that Aggregated and transformed JSON as an input for another new service's input.
Kindly suggest me a correct pattern and with a little elaboration if possible as I'm totally new to Spring Integration.