Is there an easy way to configure a Flow to read a single file from the classpath one time? I don\'t need to poll for a file. I just need to read a known file and set its co
You can create a "Spring Bean" which tries to "import" the file (Suppose Mule XML conefiguration file). Sample code below:
Or else you can try by placing the file in a property placeholder as below
Or else you can even read the file by using a Groovy component with sample code:
File file = new File("C://Users//schiraboina//Desktop//123.txt")
payload=file.getText()