Posted: 22 May 2015 11:20 EDT Last activity: 26 May 2015 10:36 EDT
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.
Share this page
Share via Facebook
Share via Twitter
Share via LinkedIn
Share via Email
Moderation Team has archived post,
This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Discussion, please write a new Discussion.
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.