Slide 4
Slide 4 text
File Connector as an inbound endpoint
• Path is a target directory on a connected file system. Basically this would be the location
on a connected system where file will be placed to read by Message Source in Mule Flow.
• Move to Directory is used when we need to backup or move file to any another
directory. Here you can specify the path where you need to backup or move your input
file.
• Move to Pattern is used when moving a file according to Move to Directory property.
For example, if we are using pattern
#[message.inboundProperties.originalFilename].backup. This means that your
are appending the .backup to OriginalFileName.If your file name is student.csv then it
will move file to directory with new FileName student.csv.backup.
• Polling Frequency is specify how often the endpoint should check for incoming file.
Default value is 1000ms.
• File Name Regex Filter is used to configure a filter to restrict the files being
processed. For example if you have set pattern .*csv then it means inbound endpoint
will only pick the file with extension .csv and ignore rest of the file like .txt, .xlsx etc.