Earlier we were directly polling on one location and getting data in the form of the files. After some transformation, we were sending those data (in XML) to a queue. After that, they came to us saying that they need a solution so that they can control the processing through control-m.
You may also like: Mule 3 to Mule 4 Migrations Tool: Real-Time API
In this process, we designed a solution where we will give them one API where they will send us the request and will start picking the files from that location after receiving the request. In Mule 3 we had to use mule requester component but now in Mule 4, we have a file connector that is capable of doing this.