We are currently using the MULE framework to read a file dropped off in a certain folder and pass it to the business component to parse, process and insert its contents to the database. We all know that MULE removes the file in the folder where it listens to when it starts to process that file. The issue we are having is that at times, the database is down or there is a problem in the network. So if there is a problem in the network, the file that was
read in the folder would be lost forever because its contents will not be inserted in the database. It would be deleted in the drop off folder but its contents would not be saved in the database.
Is there a way to handle this in MULE?
Moderators, I also posted this same thread in the ESB thread since I saw a number of past MULE related threads there. Not sure if this question is more appropriate in this section or there. Please dont erase there.