Invoke Mulesoft flow from Java
I had a scenario where, I had to synchronously + recursively collect paged data from a REST API.
To get data as per the requirement, I had to do a loop in JAVA and call Mulesoft flow to collect data using the REST API. The following is the approach I…