How Can we stop a FileListener from Reading an entirely balnk file?
I have a File Listener which reads files from a particular location and creates cases. Now there are few files which comes to the location and are entirely blank. Due to these blank files the File Listner is working on and on and trying to recover those files, due to this there have been an overhead to the server and causing performance issues. Please note the that Error Recovery is set to try 3 times, but that doesnot seems to be working for empty files.
Can someone please help on what confirguration can be done to get the File Listener to not read those empty files.
We cannot stop the empty files from being droppped in the location.
Question - "Due to these blank files the File Listner is working on and on and trying to recover those files, due to this there have been an overhead to the server and causing performance issues"
Do you have error handling and retry process to retry if the file content is empty?
Is it not possible to enhance the retry feature to ignore retry if file is empty and log the fact that case was not created due to this issue? I assume you should have tried it already but just want to check again.
I feel instead of stopping the file listener to process the file we should ignore it in post file processing for audit reasons. Otherwise the fact that file received will not be captured any where.