File Lock in MULE 4 You can set lock parameter to true so that other processes can not access the same file while it is being read. If the file is already lock and some other process trying to lock it the operation will throws File Lock Error Lock will automatically released when the file…
Read MoreWrite File Operation In MuleSoft Let’s see how we can write a file in MuleSoft using write operation Create project in anypoint studio Drag and drop write operation from mule palette Configure the below parameters: Path: provide path to write the file Content: create the payload you want to write Create parent directories: if…
Read MoreTrigger flow On New Or Updated File File connector provides a listener that polls a directory for files that have been created/updated. A message is generated for each file that is found. Let’s see how we trigger flow on new/updated file. Create project in Anypoint studio Drag and drop on New or Updated File…
Read MoreRead File Content In Mule 4 In this tutorial we will demonstrate how can we Read File Content In Mule 4 Create new mule project in anypoint studio Create the sample test file to read the content from local directory Drag and drop file read operation from mule palette and configure the…
Read MoreFile Connector File connector is used to handle files folders on a local file systems File-connector features: Ability to read files Writing files to directory Copy and move files Locking file so that no one can access file when the processing is going on Listing the files and folders mentioned at directory path Trigger…
Read More