I am trying to read a csv file in mulesoft, can one tell me how to do that ? How to tell mulesoft which file to read ?
Everyone is talking about transforming but you are asking how to read.
You will need the File connector, or FTP, SFTP or some SaaS applications maybe.
You can find an example of reading a CSV file with the File connector in Mule here:
https://www.mulesoft.com/exchange#!/importing-csv-into-mongodb
You will specify a path where Mule should poll for files, polling frequency and you can specify a pattern for which files Mule should look with a regex pattern.
https://docs.mulesoft.com/mule-user-guide/v/3.7/file-connector